From: David Miller <davem@davemloft.net>
To: dcaratti@redhat.com
Cc: jiri@resnulli.us, netdev@vger.kernel.org
Subject: Re: [PATCH net-next] net/sched: act_vlan: declare push_vid with host byte order
Date: Fri, 23 Mar 2018 21:54:24 -0400 (EDT) [thread overview]
Message-ID: <20180323.215424.941284381400962799.davem@davemloft.net> (raw)
In-Reply-To: <65876774014962556e191e2a88e6eb02e0ece5a1.1521829106.git.dcaratti@redhat.com>
From: Davide Caratti <dcaratti@redhat.com>
Date: Fri, 23 Mar 2018 19:31:30 +0100
> use u16 in place of __be16 to suppress the following sparse warnings:
>
> net/sched/act_vlan.c:150:26: warning: incorrect type in assignment (different base types)
> net/sched/act_vlan.c:150:26: expected restricted __be16 [usertype] push_vid
> net/sched/act_vlan.c:150:26: got unsigned short
> net/sched/act_vlan.c:151:21: warning: restricted __be16 degrades to integer
> net/sched/act_vlan.c:208:26: warning: incorrect type in assignment (different base types)
> net/sched/act_vlan.c:208:26: expected unsigned short [unsigned] [usertype] tcfv_push_vid
> net/sched/act_vlan.c:208:26: got restricted __be16 [usertype] push_vid
>
> Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Also applied, thanks Davide.
prev parent reply other threads:[~2018-03-24 1:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-23 18:31 [PATCH net-next] net/sched: act_vlan: declare push_vid with host byte order Davide Caratti
2018-03-24 1:54 ` David Miller [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=20180323.215424.941284381400962799.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dcaratti@redhat.com \
--cc=jiri@resnulli.us \
--cc=netdev@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox