On Tue, Sep 19, 2023 at 12:46:34PM +0400, Ivan Orlov wrote: > By the way, is there any way to detect such issues automatically? I've seen > that the kernel test robot detects a lot of similar stuff, perhaps there is > any tools/linters which can be set up locally? Not that I know of, sorry, I rely on the kernel test robot for lots of these things :) But, the robot is running all open tests, so dig into the public repo of it to see what it is using and perhaps run those tests locally? Lots of them are just different build options and running sparse. thanks, greg k-h