Fix up incorrect usage of sizeof

In
void whatever(u8 x[20])
sizeof(x) returns the size of a u8* pointer, not (as the code
here would expect) 20...

Change-Id: I5a96b2648499f7203b8cc7666849ff80d0019c2d
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkranzer@linaro.org>
sensors_adsp: fix use of sizeof

 - derefference until a proper fix is worked out

Change-Id: I766ccc4187b2cc03f0ee7e427b9cc1db88b4c6e1
Add 2 warnings to allow the build to succeed with gcc 4.8

gcc 4.8 creates some additional, apparently harmless, warnings,
causing the build to fail unless they're allowed here.

Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
gcc-wrapper: add namespaces.c to the whitelist

Change-Id: Ic7440cdce373b2b5b101b5a3e13ca3c3902ef986
cpufreq: interactive: fix compiling warnings

The gcc warns like:

  cpufreq_interactive.c:745:6: warning: operation on 'ret' may be
undefined [-Wsequence-point]

It was introduced by commit cf0fad49d17cb8273ce555dd5b7afab67d7923bf.

Since sprintf(...) just return 1 (one character) in this case, ret
should not changed.
Just discarding the result of sprintf(...) leads to the result that
the committer of cf0fad49d17cb8273ce555dd5b7afab67d7923bf wants.

Change-Id: Ifed1cef6d6a31c3ed23dad03a567b3b9eddf3a57
Signed-off-by: Chih-Wei Huang <cwhuang@android-x86.org>
Signed-off-by: Dave Daynard <nardholio@gmail.com>
hammerhead: disable CONFIG_UNWIND

 * fixes "warning: unwinding may not work because EXIDX input section"

Change-Id: If4685f50af9a9cb7e499edd2e7a7e34abd63a241