Re: Intel i40e code finds smatch bug

Dan McDonald <[email protected]>
Newsgroups org.kernel.vger.smatch
Message-ID <[email protected]>
On Jan 19, 2021, at 4:42 PM, Luc Van Oostenryck <[email protected]> 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.

Well that's good news! Of course, one may have to mention this to Intel in regards to i40e, but that's not this mailing list's problem. Nor is having illumos update its downstream with this as well. :)

Thank you!
Dan
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.