Re: [PATCH smatch] check_uninitialized_kobj: Add a new check
Harshit Mogalapalli <[email protected]> Fri, 1 Dec 2023 16:18:33 +0530
| Newsgroups | org.kernel.vger.smatch |
|---|---|
| Message-ID | <[email protected]> |
On 01/12/23 2:11 pm, Dan Carpenter wrote: > 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. > Thanks Dan! Regards, Harshit > regards, > dan carpenter >