fixed restart.h for linaro gcc 4.7
fixed pm8xxx-ccadc.c for linaro gcc 4.7
fixed bapRsnTxRx.c for linaro gcc 4.7
fixed wlan_qct_wdi_i.h for linaro gcc 4.7
fixed cifssmb.c for linaro gcc 4.7
fixed xt_socket.c for linaro gcc 4.7
arch/arm/mach-msm/htc_battery_core: fix array out of bounds