Re: [PATCH net-next v2 3/6] net: dcb: add new rewrite table

From: Dan Carpenter
Date: Wed Jan 18 2023 - 10:17:16 EST


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