[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130213.115720.1571411485926797138.davem@davemloft.net>
Date: Wed, 13 Feb 2013 11:57:20 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: nhorman@...driver.com
Cc: netdev@...r.kernel.org, dan.carpenter@...cle.com
Subject: Re: [PATCH] netpoll: fix smatch warnings in netpoll core code
From: Neil Horman <nhorman@...driver.com>
Date: Wed, 13 Feb 2013 11:32:42 -0500
> Dan Carpenter contacted me with some notes regarding some smatch warnings in the
> netpoll code, some of which I introduced with my recent netpoll locking fixes,
> some which were there prior. Specifically they were:
>
> net-next/net/core/netpoll.c:243 netpoll_poll_dev() warn: inconsistent
> returns mutex:&ni->dev_lock: locked (213,217) unlocked (210,243)
> net-next/net/core/netpoll.c:706 netpoll_neigh_reply() warn: potential
> pointer math issue ('skb_transport_header(send_skb)' is a 128 bit pointer)
>
> This patch corrects the locking imbalance (the first error), and adds some
> parenthesis to correct the second error. Tested by myself. Applies to net-next
>
> Signed-off-by: Neil Horman <nhorman@...driver.com>
Applied, thanks Neil.
Again, please specify in the Subject line the destination tree.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists