public inbox for smatch@vger.kernel.org
 help / color / mirror / Atom feed
* passing zero to PTR_ERR() warnings
@ 2019-05-09 13:51 Dan Carpenter
  0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2019-05-09 13:51 UTC (permalink / raw)
  To: smatch

Everyone seems to be hitting this warning, but I can't reproduce it at
all.  It came from a bug when I made pointers unsigned...

I though I fixed it in commit 8a9817501654 ("zero_to_err_ptr:  fix fall
out from unsigned pointer changes and improve") but now I can't
reproduce it even when I revert that patch.

I'm using a clean smatch clone and a clean kernel clone, but I just
can't trigger false positives.  I get valid warnings still but not the
false positives.

Can anyone help me figure this out?

regards,
dan carpenter

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-09 13:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-09 13:51 passing zero to PTR_ERR() warnings Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox