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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170625143916.GA4706@kroah.com>
Date:   Sun, 25 Jun 2017 16:39:16 +0200
From:   Greg KH <gregkh@...uxfoundation.org>
To:     AbdAllah-MEZITI <abdallah.meziti.pro@...il.com>
Cc:     Sergio Paracuellos <sergio.paracuellos@...il.com>,
        Juliana Rodrigues <juliana.orod@...il.com>,
        Andrea della Porta <sfaragnaus@...il.com>,
        Frans Klaver <fransklaver@...il.com>,
        Shiva Kerdel <shiva@...ev.nl>,
        sayli karnik <karniksayli1995@...il.com>,
        Rehas Sachdeva <aquannie@...il.com>,
        devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: wlan-ng: Fix sparse warning: incorrect type in
 assignment This patch fixes the following sparse warning

On Fri, Jun 23, 2017 at 04:21:54AM +0200, AbdAllah-MEZITI wrote:
> drivers/staging/wlan-ng/prism2mgmt.c:188:25: warning: incorrect type in assignment (different base types)
> drivers/staging/wlan-ng/prism2mgmt.c:188:25:    expected unsigned short [unsigned] [addressable] [usertype] tx_rate
> drivers/staging/wlan-ng/prism2mgmt.c:188:25:    got restricted __le16 [usertype] <noident>
> drivers/staging/wlan-ng/prism2mgmt.c:200:30: warning: incorrect type in assignment (different base types)
> drivers/staging/wlan-ng/prism2mgmt.c:200:30:    expected unsigned short [unsigned] [addressable] [usertype] channel_list
> drivers/staging/wlan-ng/prism2mgmt.c:200:30:    got restricted __le16 [usertype] <noident>
> drivers/staging/wlan-ng/prism2mgmt.c:203:26: warning: incorrect type in assignment (different base types)
> drivers/staging/wlan-ng/prism2mgmt.c:203:26:    expected unsigned short [unsigned] [addressable] [usertype] len
> drivers/staging/wlan-ng/prism2mgmt.c:203:26:    got restricted __le16 [usertype] <noident>
> drivers/staging/wlan-ng/prism2mgmt.c:232:28: warning: incorrect type in assignment (different base types)
> drivers/staging/wlan-ng/prism2mgmt.c:232:28:    expected unsigned short [unsigned] [short] <noident>
> drivers/staging/wlan-ng/prism2mgmt.c:232:28:    got restricted __le16 [usertype] <noident>
> 
> Signed-off-by: AbdAllah-MEZITI <abdallah.meziti.pro@...il.com>
> ---
>  drivers/staging/wlan-ng/hfa384x.h    | 6 +++---
>  drivers/staging/wlan-ng/prism2mgmt.c | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)

Does not apply to my staging-next branch at all :(

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ