[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150113033736.GC31093@kroah.com>
Date: Mon, 12 Jan 2015 19:37:36 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Krzysztof Adamski <k@...ko.eu>
Cc: Malcolm Priestley <tvboxspy@...il.com>,
Forest Bond <forest@...ttletooquiet.net>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: vt6656: Use ether_addr_copy() in
vnt_fill_ieee80211_rts.
On Tue, Dec 16, 2014 at 09:30:21AM +0100, Krzysztof Adamski wrote:
> Both struct ieee80211_rts and struct ieee80211_hdr defined in
> linux/ieee80211.h are declared as __aligned(2) so it is safe to use
> ether_addr_copy() instead of memcpy().
>
> Signed-off-by: Krzysztof Adamski <k@...ko.eu>
> ---
> drivers/staging/vt6656/rxtx.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
> index ea5140a..280c923 100644
> --- a/drivers/staging/vt6656/rxtx.c
> +++ b/drivers/staging/vt6656/rxtx.c
> @@ -36,6 +36,7 @@
> *
> */
>
> +#include <linux/etherdevice.h>
> #include "device.h"
> #include "rxtx.h"
> #include "card.h"
Something corrupted this patch :(
--
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