Fix sizeof-pointer-memaccess warning with gcc 4.8

This patch fixes wrong memcpy size when copying ltk value to
HCI_OP_LE_LTK_REPLY command.

Change-Id: I44e5e3da15369d4b424581720ccd3bac820ef2e0
USB: gadget: qdss: Fix strncmp length usage

Using a newer GCC we get the following warnings:

drivers/usb/gadget/f_qdss.c: In function 'qdss_bind_config':
drivers/usb/gadget/f_qdss.c:598: warning: argument to 'sizeof' in
'strncmp' call is the same expression as the second source; did you mean
to provide an explicit length? [-Wsizeof-pointer-memaccess]

drivers/usb/gadget/f_qdss.c: In function 'usb_qdss_open':
drivers/usb/gadget/f_qdss.c:760: warning: argument to 'sizeof' in
'strncmp' call is the same expression as the second source; did you mean
to provide an explicit length? [-Wsizeof-pointer-memaccess]

These look to be due to using sizeof(ch->name) which is a pointer, use
a simple strcmp instead.

Change-Id: I09e09a18ffb3361fc351b177ed3a35432d9ed933
Signed-off-by: Kumar Gala <galak@codeaurora.org>
semc_charger_usb: Fix strncmp length usage

* Fixes build with gcc 4.8

Change-Id: I5580b89d0f7c9c9ba8506bcd350f49999f728c20
bq27520_battery: Fix strncmp length usage

* Fixes build with gcc 4.8

Change-Id: Ib235436b82d8948ae827e81126efc040c6d8bb0c
battery_chargalg: Fix strncmp length usage

 * Fixes build with gcc 4.8

Change-Id: Icbd7f9eb56d5e95c2e2a095bcb935333601b0797