All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: AbdAllah-MEZITI <abdallah.meziti.pro@gmail.com>
Cc: Sergio Paracuellos <sergio.paracuellos@gmail.com>,
	Juliana Rodrigues <juliana.orod@gmail.com>,
	Andrea della Porta <sfaragnaus@gmail.com>,
	Frans Klaver <fransklaver@gmail.com>,
	Shiva Kerdel <shiva@exdev.nl>,
	sayli karnik <karniksayli1995@gmail.com>,
	Rehas Sachdeva <aquannie@gmail.com>,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: wlan-ng: Fix sparse warning: incorrect type in assignment This patch fixes the following sparse warning
Date: Sun, 25 Jun 2017 16:39:16 +0200	[thread overview]
Message-ID: <20170625143916.GA4706@kroah.com> (raw)
In-Reply-To: <1498184531-7351-1-git-send-email-abdallah.meziti.pro@gmail.com>

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@gmail.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 :(

      reply	other threads:[~2017-06-25 14:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-23  2:21 [PATCH] staging: wlan-ng: Fix sparse warning: incorrect type in assignment This patch fixes the following sparse warning AbdAllah-MEZITI
2017-06-25 14:39 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170625143916.GA4706@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=abdallah.meziti.pro@gmail.com \
    --cc=aquannie@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=fransklaver@gmail.com \
    --cc=juliana.orod@gmail.com \
    --cc=karniksayli1995@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sergio.paracuellos@gmail.com \
    --cc=sfaragnaus@gmail.com \
    --cc=shiva@exdev.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.