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

Dan Carpenter <[email protected]> Fri, 1 Dec 2023 11:41:27 +0300
Newsgroups org.kernel.vger.smatch
Message-ID <[email protected]>
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 <[email protected]>

Thanks!  Applied.

regards,
dan carpenter