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]

 



On Tue, Sep 02, 2014 at 12:35:50PM +0300, Dan Carpenter wrote:
> Sure.  I have written a check to test for kfree and brelse of ERR_PTRs.
> I'll test it today.

It would be good to have it also check for kmem_cache_free() and
vfree(), and I suspect there are some other functions which also free
memory that I'm forgetting off the top of my head.

Thanks!!

     	    	     		    	- Ted
--
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