[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200225.103704.704767230548147269.davem@davemloft.net>
Date: Tue, 25 Feb 2020 10:37:04 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: netdev@...r.kernel.org, tgraf@...g.ch
Subject: Re: [bug report] dcbnl: Shorten all command handling functions
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Tue, 25 Feb 2020 10:14:08 +0300
> The patch 7be994138b18: "dcbnl: Shorten all command handling
> functions" from Jun 13, 2012, leads to the following static checker
> warning:
>
> net/dcb/dcbnl.c:1509 dcbnl_ieee_set()
> warn: passing signed to unsigned: 'err'
The problem exists before this commit, it's just that the u8 truncated
'err' is passed into dcbnl_reply().
Yeah this is quite a mess.
Powered by blists - more mailing lists