linux/drivers/staging
Ioana Ciornei 7078db9dff staging: prism2sta: Replace memcpy with ether_add_copy
Replace memcpy() with ether_addr_copy() since addresses are __aligned(2).
The 2 structures are aligned to u16 as showed below:

typedef struct hfa384x_authenticateStation_data {
u8 address[ETH_ALEN];                           /* 0    6 */
u16 status;                                     /* 6    2 */
u16 algorithm;                                  /* 8    2 */
} __packed hfa384x_authenticateStation_data_t;

Total size: 10

typedef struct hfa384x_AuthRequest {
u8 sta_addr[ETH_ALEN];                          /* 0    6 */
u16 algorithm;                                  /* 6    2 */
} __packed hfa384x_AuthReq_t;
Total size: 8

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-20 13:11:45 +01:00
..
android staging: android: ion: fix some format strings 2015-03-01 18:46:15 -08:00
board Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
clocking-wizard staging: clocking-wizard: Handle invalid clk in notifier 2015-01-17 16:06:20 -08:00
comedi Staging: comedi: replace pr_err with dev_err 2015-03-18 11:16:36 +01:00
dgap Staging: dgap: Use setup_timer to combine initialization 2015-03-16 16:17:31 +01:00
dgnc Staging: dgnc: release the lock before testing for nullity 2015-03-18 17:34:11 +01:00
emxx_udc Staging: emuxx_udc: replace pr_* with dev_* 2015-03-16 16:28:31 +01:00
fbtft Staging: fbtft: Remove unnecessary print messages 2015-03-16 16:20:49 +01:00
fsl-mc staging: fsl-mc: fsl-mc object allocator driver 2015-03-06 17:29:10 -08:00
ft1000 Staging: ft1000: replace pr_err with dev_err 2015-03-18 11:16:36 +01:00
fwserial staging: fwserial: remove extra parentheses around function arguments 2015-03-15 18:41:11 +01:00
gdm72xx Staging: gdm72xx: use !x instead of x == NULL 2015-03-16 16:28:47 +01:00
gdm724x Staging: gdm724x: replace pr_* with dev_* 2015-03-18 11:21:33 +01:00
goldfish Staging: goldfish: use !x instead of x == NULL 2015-03-16 16:28:47 +01:00
gs_fpgaboot staging: Remove <linux/moduleparam.h> header. 2015-03-01 17:09:52 -08:00
i2o Staging: i2o: Move assignment out of if statement 2015-03-16 16:22:16 +01:00
iio Staging: iio: replace pr_* with dev_* 2015-03-18 11:21:33 +01:00
lustre Staging: lustre: lnet: lnet: router.c: fix useless returns and elses 2015-03-19 13:25:32 +01:00
media Staging: media: replace pr_* with dev_* 2015-03-18 11:21:33 +01:00
mt29f_spinand staging: mt29f_spinand: remove pointer to pointer cast in function argument 2015-03-15 18:41:11 +01:00
netlogic Staging: NetLogic: Coding style correction 2015-01-17 15:17:10 -08:00
nvec Staging: nvec: use !x instead of x == NULL 2015-03-16 16:28:47 +01:00
octeon Staging: octeon: Fixed a typo 2015-01-17 15:00:23 -08:00
octeon-usb Staging: octeon-usb: Fixed a typo 2015-01-17 15:00:23 -08:00
olpc_dcon staging: olpc_dcon: fix sparse symbol not declared warning 2015-01-17 15:17:10 -08:00
ozwpan staging: ozwpan: Move code from success handling to error handling 2015-03-06 16:14:08 -08:00
panel staging: panel: initialize lcd if lcd enabled 2015-03-06 16:31:58 -08:00
rtl8188eu Staging: rtl8188eu: Remove timer handler macros 2015-03-18 11:16:36 +01:00
rtl8192e Staging: rtl8192e: Bool tests don't need comparisons 2015-03-16 16:00:20 +01:00
rtl8192u Staging: rtl8192u: Rename struct to avoid CamelCase 2015-03-18 10:32:39 +01:00
rtl8712 Staging: rtl8712: replace memcpy with ether_addr_copy 2015-03-18 10:32:39 +01:00
rtl8723au Staging: rtl8723au: Remove parentheses around right side an assignment 2015-03-16 16:23:44 +01:00
rts5208 Staging: rts5208: Use module_pci_driver 2015-03-16 16:17:31 +01:00
skein Staging: skein: Remove do-while(0) from single statement macros 2015-03-15 18:41:15 +01:00
slicoss Staging: slicoss: clean dev_err logging 2015-03-06 15:55:36 -08:00
sm7xxfb staging: sm7xxfb: make vgamode static 2015-03-06 16:35:54 -08:00
sm750fb staging: sm750fb: remove parantheses from return statements 2015-03-15 18:41:15 +01:00
speakup Staging: speakup: Remove unused variable 2015-03-09 13:30:40 +01:00
ste_rmi4 Staging: ste_rmi4: clean dev_err logging 2015-03-06 15:55:36 -08:00
unisys staging: unisys: print MAC address via %pM 2015-03-16 16:36:37 +01:00
vme staging: vme: mmap() support for vme_user 2015-03-06 17:03:22 -08:00
vt6655 staging: vt6655: Fixes the checkpatch.pl warning 2015-03-15 18:41:10 +01:00
vt6656 staging: vt6656: Fix possible leak in vnt_download_firmware() 2015-03-06 16:26:58 -08:00
wlan-ng staging: prism2sta: Replace memcpy with ether_add_copy 2015-03-20 13:11:45 +01:00
xgifb staging: xgifb: remove extra parentheses around right bit shift operations 2015-03-06 15:22:43 -08:00
Kconfig staging: fsl-mc: Freescale Management Complex (fsl-mc) bus driver 2015-03-06 17:28:09 -08:00
Makefile staging: fsl-mc: Freescale Management Complex (fsl-mc) bus driver 2015-03-06 17:28:09 -08:00
staging.c