Linaro 4.9.1: fix compiler warnings

Signed-off-by: Paul <javelinanddart@gmail.com>

Conflicts:
	net/bluetooth/hci_conn.c
	net/bluetooth/l2cap_core.c
Fixes

Signed-off-by: Paul <javelinanddart@gmail.com>
Oops. Forgot to add some files from CM

Signed-off-by: Paul <javelinanddart@gmail.com>