On 1/6/25 16:13, Greg Kroah-Hartman wrote:
6.6-stable review patch. If anyone has any objections, please let me know.
From: Przemek Kitszel przemyslaw.kitszel@intel.com
[ Upstream commit fcc22ac5baf06dd17193de44b60dbceea6461983 ]
Change scoped_guard() and scoped_cond_guard() macros to make reasoning about them easier for static analysis tools (smatch, compiler diagnostics), especially to enable them to tell if the given usage of scoped_guard() is with a conditional lock class (interruptible-locks, try-locks) or not (like simple mutex_lock()).
please also consider cherry pick of the commit 9a884bdb6e95 ("iio: magnetometer: fix if () scoped_guard() formatting") when picking the one in the subject