Powered by Linux
Re: [PATCH smatch] check_uninitialized_kobj: Add a new check — Semantic Matching Tool

Re: [PATCH smatch] check_uninitialized_kobj: Add a new check

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

 



On Thu, Nov 30, 2023 at 11:57:38PM -0800, Harshit Mogalapalli wrote:
> This check complains when we reach kobject_put() or kobject_get() with
> kobject->state_initialized unset.
> 
> This will eventually trigger a runtime WARN().
> 
> Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx>

Thanks!  Applied.

regards,
dan carpenter




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

  Powered by Linux