Re: Intel i40e code finds smatch bug

Dan Carpenter <[email protected]>
Newsgroups org.kernel.vger.smatch
Message-ID <20210121084949.GQ2696@kadam>
On Tue, Jan 19, 2021 at 10:42:21PM +0100, Luc Van Oostenryck wrote:
> On Tue, Jan 19, 2021 at 03:51:57PM -0500, Dan McDonald wrote:
> > On Jan 19, 2021, at 1:55 PM, Dan Carpenter <[email protected]> wrote:
> > > 
> > > Luk recently was working on better support of packed structs (which have
> > > been a known issue for a while) but I doubt that will help here.
> 
> Indeed, the support for packed structs (via the attribute) is now
> complete in Sparse and was mainlined 2 weeks ago or so and ...
>  
> > I tried using packed struct attributes instead of the pragma and no luck there either:
> 
> now it just needs to be merged into smatch.
>  

Awesome!  I've merged it and will push the merge tomorrow if the tests
run well tonight.  Thanks!

regards,
dan carpenter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.