Use -O2

Change-Id: Ie91b41c52f53a7eade1c5aeac2cbe2c977078242
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
Compile O3

Change-Id: I92deca5b9a18e4cd3cb49fd57269e016e56f2ec0
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
Fix uninitialized for old_prate, new_prate, rrate

Change-Id: I9cca48ae63eb9325c0d53dc34645b84b6ea12157
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
arch/arm/mach-msm/clock-krait-8974 fix unitialized variable

Change-Id: I5c1401e0539df276c7befb02291d68f0db6438b3
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
kernel/sysctl: fix: 'warning: 'kbuf' may be used uninitialized in this function'

Change-Id: Iec8f89dea560eb0bd58b23ac8ce633f9069e4d44
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
kernel/sysctl: fix: 'warning: 'kbuf' may be used uninitialized in this function' #2

Change-Id: I2547716dea1f45310581fcc830322ec6a024361f
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
kernel/workqueue.c: avoid array subscript above array boundaries

Change-Id: Id3b89e271fb32bf4015d2f46f717da39468775aa
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fix: kernel/auditsc.c:927:23: warning: 'state' may be used uninitialized in this function

Change-Id: I9d8b54eb57d76f7c704f4fc144d42e2589b55740
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
kernel/cgroup: fix: 'warning: 'it.task' may be used uninitialized in this function'

Change-Id: Ib263a6117a5dcc88f9560d4423b32116482eb4ff
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
kernel/auditsc fix unitialized variable

Change-Id: Ibca5161fdfdf350d27fbd3b8d62ee7128fdef8c3
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
fs/encryptfs/keystore Fix unitialized variable
  * payload_len
  * auth_tok_sig
  * payload

Change-Id: I1f680e59c163230bdad028dfec4c859e0413e465
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>

Conflicts:
	fs/ecryptfs/keystore.c
fs/kernel: -O3 fixes

Change-Id: If04627fd6c434948e8989860d3b9b4c81bfb3964
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fs/namespace: fix: 'warning: 'kernel_dev' may be used uninitialized in this function'

Change-Id: Ibe96bc42a33fbb9dffa1360e8a078e6c7d0a5d30
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fs/namespace: fix: 'warning: 'kernel_type/dir' may be used uninitialized in this function'

Change-Id: Iba8ee4569e1ca956f458b320428da42e7b61d32f
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fs/fuse/control: fix 'warning: 'val' may be used uninitialized in this function'

Change-Id: I8ae4d1f1a741c0744c0d6e26f83b988f5fc5cf2e
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fs/jbd/journal: fix: 'warning: 'blocknr' may be used uninitialized in this function'

Change-Id: I492321a982ebc0ca74fac6d35b371adb00749e6d
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fs/jbd2/journal: fix: 'warning: 'blocknr' may be used uninitialized in this function'

Change-Id: Id9da01cf6b328e9ef1a6ecf67f193fe71bca7a82
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fs/fs-writeback: This trace event causes a ICE in the mentioned compiler

$ arm-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-eabi-gcc
COLLECT_LTO_WRAPPER=/home/showp1984/WORK/toolchain/android-toolchain-eabi/bin/../libexec/gcc/arm-eabi/4.7.2/lto-wrapper
Target: arm-eabi
Configured with: /mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-src/gcc-linaro-4.7-2012.09/configure --prefix=/tmp/android-toolchain-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-mpfr=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-mpc=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-cloog=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-ppl=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --disable-ppl-version-check --disable-cloog-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --disable-nls --disable-libmudflap --disable-shared --disable-sjlj-exceptions --disable-libquadmath --disable-libitm --disable-libatomic --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --prefix=/tmp/android-toolchain-eabi --disable-docs --disable-nls --with-gcc-version=linaro-4.7-2012.09 --with-binutils-version=2.23.51.0.3 --with-gmp-version=5.0.5 --with-mpfr-version=3.1.1 --with-mpc-version=1.0 --target=arm-eabi --enable-threads --enable-tls --disable-libgomp --disable-libstdc__-v3 --disable-libitm --disable-libatomic
Thread model: single
gcc version 4.7.2 20120910 (prerelease) (Linaro GCC 4.7-2012.09)

ICE:
  CC      fs/fs-writeback.o
fs/fs-writeback.c: In function 'bdi_writeback_thread':
fs/fs-writeback.c:685:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:13180
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [fs/fs-writeback.o] Error 1
make: *** [fs] Error 2

Since we don't need traces, just comment it out for now.

Change-Id: I43497ed66723e267c8b59c80afd2819c8602c2ae
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fix ICE in fs/fs-writeback.c with gcc4.7:

fs/fs-writeback.c: In function 'bdi_writeback_thread':
fs/fs-writeback.c:993:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:13180
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [fs/fs-writeback.o] Error 1
make: *** [fs] Error 2

$ arm-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=/home/showp1984/WORK/toolchain/android-toolchain-eabi/bin/arm-eabi-gcc
COLLECT_LTO_WRAPPER=/home/showp1984/WORK/toolchain/android-toolchain-eabi/bin/../libexec/gcc/arm-eabi/4.7.2/lto-wrapper
Target: arm-eabi
Configured with: /mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-src/gcc-linaro-4.7-2012.09/configure --prefix=/tmp/android-toolchain-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-mpfr=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-mpc=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-cloog=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-ppl=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --disable-ppl-version-check --disable-cloog-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --disable-nls --disable-libmudflap --disable-shared --disable-sjlj-exceptions --disable-libquadmath --disable-libitm --disable-libatomic --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --prefix=/tmp/android-toolchain-eabi --disable-docs --disable-nls --with-gcc-version=linaro-4.7-2012.09 --with-binutils-version=2.23.51.0.3 --with-gmp-version=5.0.5 --with-mpfr-version=3.1.1 --with-mpc-version=1.0 --target=arm-eabi --enable-threads --enable-tls --disable-libgomp --disable-libstdc__-v3 --disable-libitm --disable-libatomic
Thread model: single
gcc version 4.7.2 20120910 (prerelease) (Linaro GCC 4.7-2012.09)

Change-Id: Ib8a5e36dea1a908bceaed02df9c90d11494af603
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fs/fat/dir fix unitialzed variables

Change-Id: I2d48bb5bbc8a00fe8b5760d4e6286b8d61726e18
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>