lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 12 Jan 2015 19:42:12 -0800 From: Greg Kroah-Hartman <gregkh@...uxfoundation.org> To: Krzysztof Adamski <k@...ko.eu> Cc: Forest Bond <forest@...ttletooquiet.net>, Malcolm Priestley <tvboxspy@...il.com>, Peter Senna Tschudin <peter.senna@...il.com>, devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] staging: vt6656: Use ether_addr_copy() on vnt_private members. On Mon, Dec 22, 2014 at 05:15:41PM +0100, Krzysztof Adamski wrote: > This patch fixes checkpatch.pl warning: > WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet > addresses are __aligned(2) > > current_net_addr and permanent_net_addr members of vnt_private alignment > is changed to at last 16 bits so that ether_addr_copy can be safely used > on them. > > buf->data is of type ieee80211_cts which is already properly aligned. > > Signed-off-by: Krzysztof Adamski <k@...ko.eu> > --- > drivers/staging/vt6656/device.h | 4 ++-- > drivers/staging/vt6656/main_usb.c | 3 ++- > drivers/staging/vt6656/rxtx.c | 4 ++-- > 3 files changed, 6 insertions(+), 5 deletions(-) Doesn't apply to my tree :( -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists