Powered by Linux
Re: Feature request: check for freeing an ERR_PTR — Semantic Matching Tool

Re: Feature request: check for freeing an ERR_PTR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sure.  I have written a check to test for kfree and brelse of ERR_PTRs.
I'll test it today.

Hm...  I used to have a white list of functions which accept an ERR_PTR
so I could complain about passing error pointers, but that code is not
working any more.  I'll look into it.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe smatch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux