From: Marcelo Ricardo Leitner <marcelo.leitner@gmail•com>
To: David Miller <davem@davemloft•net>
Cc: netdev@vger•kernel.org, vladbu@mellanox•com, jiri@mellanox•com
Subject: Re: [PATCH] net: sched: Fix warnings from xchg() on RCU'd cookie pointer.
Date: Mon, 9 Jul 2018 12:30:12 -0300 [thread overview]
Message-ID: <20180709153012.GA8880@localhost.localdomain> (raw)
In-Reply-To: <20180708.170358.1177815849312901978.davem@davemloft.net>
On Sun, Jul 08, 2018 at 05:03:58PM +0900, David Miller wrote:
>
> The kbuild test robot reports:
>
> >> net/sched/act_api.c:71:15: sparse: incorrect type in initializer (different address spaces) @@ expected struct tc_cookie [noderef] <asn:4>*__ret @@ got [noderef] <asn:4>*__ret @@
> net/sched/act_api.c:71:15: expected struct tc_cookie [noderef] <asn:4>*__ret
> net/sched/act_api.c:71:15: got struct tc_cookie *new_cookie
> >> net/sched/act_api.c:71:13: sparse: incorrect type in assignment (different address spaces) @@ expected struct tc_cookie *old @@ got struct tc_cookie [noderef] <struct tc_cookie *old @@
> net/sched/act_api.c:71:13: expected struct tc_cookie *old
> net/sched/act_api.c:71:13: got struct tc_cookie [noderef] <asn:4>*[assigned] __ret
This one:
> >> net/sched/act_api.c:132:48: sparse: dereference of noderef expression
Actually belongs to a different issue, that was reported in the same
email, but which wasn't handled in this patch.
Marcelo
next prev parent reply other threads:[~2018-07-09 15:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-08 8:03 [PATCH] net: sched: Fix warnings from xchg() on RCU'd cookie pointer David Miller
2018-07-09 15:30 ` Marcelo Ricardo Leitner [this message]
2018-07-09 17:29 ` Vlad Buslov
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=20180709153012.GA8880@localhost.localdomain \
--to=marcelo.leitner@gmail$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=jiri@mellanox$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=vladbu@mellanox$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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