Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1619277

Re: [PATCH] staging wlan-ng: mark PDA buf as __le16

From Maciek Borzecki <maciek.borzecki@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] staging wlan-ng: mark PDA buf as __le16
Date 2017-04-08 15:30 +0200
Message-ID <ttYBb-5On-5@gated-at.bofh.it> (permalink)
References <ttBuW-78a-25@gated-at.bofh.it> <ttWpH-4vu-5@gated-at.bofh.it> <ttYrv-5IU-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Apr 8, 2017 at 3:18 PM, Maciek Borzecki
<maciek.borzecki@gmail.com> wrote:
> On Sat, Apr 8, 2017 at 1:01 PM, Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> 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@gmail.com>
>>> ---
>>>  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@linux-foundation.org>
> 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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] staging wlan-ng: mark PDA buf as __le16 Maciek Borzecki <maciek.borzecki@gmail.com> - 2017-04-07 14:50 +0200
  Re: [PATCH] staging wlan-ng: mark PDA buf as __le16 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-04-08 13:10 +0200
    Re: [PATCH] staging wlan-ng: mark PDA buf as __le16 Maciek Borzecki <maciek.borzecki@gmail.com> - 2017-04-08 15:20 +0200
      Re: [PATCH] staging wlan-ng: mark PDA buf as __le16 Maciek Borzecki <maciek.borzecki@gmail.com> - 2017-04-08 15:30 +0200

csiph-web