[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y8gMHLLymftuSki4@kadam>
Date: Wed, 18 Jan 2023 18:11:24 +0300
From: Dan Carpenter <error27@...il.com>
To: Petr Machata <petrm@...dia.com>
Cc: Daniel Machon <daniel.machon@...rochip.com>,
netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, lars.povlsen@...rochip.com,
Steen.Hegelund@...rochip.com, UNGLinuxDriver@...rochip.com,
joe@...ches.com, horatiu.vultur@...rochip.com,
Julia.Lawall@...ia.fr, vladimir.oltean@....com,
maxime.chevallier@...tlin.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2 3/6] net: dcb: add new rewrite table
On Wed, Jan 18, 2023 at 06:07:48PM +0300, Dan Carpenter wrote:
> In Smatch, I thought it would be easy but it turned out I need to add
> a hack around to change the second nla_nest_start_noflag() from unknown
> to valid pointer.
The second nla_nest_start_noflag() *return*, I meant.
> +nla_nest_start_noflag 0-u64max 4096-ptr_max
regards,
dan carpenter
Powered by blists - more mailing lists