Re: [PATCH] staging wlan-ng: mark PDA buf as __le16
From: Maciek Borzecki
Date: Sat Apr 08 2017 - 09:23:05 EST
On Sat, Apr 8, 2017 at 3:18 PM, Maciek Borzecki
<maciek.borzecki@xxxxxxxxx> wrote:
> On Sat, Apr 8, 2017 at 1:01 PM, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>> On Fri, Apr 07, 2017 at 02:47:55PM +0200, Maciek Borzecki wrote:
>>> PDA buffer contains little-endian data, clearly mark it as such.
>>>
>>> Fixes sparse warnings:
>>> drivers/staging/wlan-ng/hfa384x_usb.c:2359:34: warning: cast to restricted __le16
>>> drivers/staging/wlan-ng/hfa384x_usb.c:2360:35: warning: cast to restricted __le16
>>> drivers/staging/wlan-ng/hfa384x_usb.c:2382:44: warning: cast to restricted __le16
>>>
>>> Signed-off-by: Maciek Borzecki <maciek.borzecki@xxxxxxxxx>
>>> ---
>>> drivers/staging/wlan-ng/hfa384x_usb.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> This patch does not apply to my tree at all, what did you make it
>> against?
>>
>
> It was made on top of:
>
> commit c02ed2e75ef4c74e41e421acb4ef1494671585e8
> Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Date: Sun Mar 26 14:15:16 2017 -0700
>
> Linux 4.11-rc4
>
> Let me rebase on top of staging-next and resend.
Please ignore this patch. Turns out there's a similar patch already
applied in staging-next.
Cheers,
--
Maciek Borzecki