Re: driver core: faux: Move a variable assignment behind a condition check in faux_device_destroy()

Greg Kroah-Hartman <[email protected]> Mon, 13 Jul 2026 06:44:15 +0200
Newsgroups gmane.linux.kernel.janitors,gmane.linux.kernel
Message-ID <2026071305-retract-banker-c14e@gregkh>
On Sun, Jul 12, 2026 at 06:54:13PM +0200, Markus Elfring wrote:
> …
> >> Please take another look at related information sources.
> >>
> >> EXP34-C: Do not dereference null pointers
> >> https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/rules/expressions-exp/exp34-c/
> >>
> >>
> >> See also:
> >> https://lore.kernel.org/kernel-janitors/[email protected]/
> >> https://lkml.org/lkml/2026/7/2/2241
> > 
> > Please see the places in the past where I have rejected this very patch.
> > Nothing has changed since then.
> Can involved special development views be resolved better by applying scope-based resource management
> for the affected function implementation?

*plonk*