summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/include/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2025-12-15 14:09:08 +0200
committerJani Nikula <jani.nikula@intel.com>2025-12-16 14:04:22 +0200
commit524696a19e34598c9173fdd5b32fb7e5d16a91d3 (patch)
tree86ec6fbcc819ef446dae04f4a55efb54aedc2f12 /tools/lib/lockdep/include/git@git.tavy.me:linux.git
parentb8304863a3990d0f18c38e5b94191830a63ee1af (diff)
drm/i915/wakeref: clean up INTEL_WAKEREF_PUT_* flag macros
Commit 469c1c9eb6c9 ("kernel-doc: Issue warnings that were silently discarded") started emitting warnings for cases that were previously silently discarded. One such case is in intel_wakeref.h: Warning: drivers/gpu/drm/i915/intel_wakeref.h:156 expecting prototype for __intel_wakeref_put(). Prototype was for INTEL_WAKEREF_PUT_ASYNC() instead Arguably kernel-doc should be able to handle this, as it's valid C, but having the flags defined between the function declarator and the body is just asking for trouble. Move the INTEL_WAKEREF_PUT_* macros away from there, making kernel-doc's life easier. While at it, reduce the unnecessary abstraction levels by removing the enum, and append _MASK to INTEL_WAKEREF_PUT_DELAY for clarity. Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Jonathan Corbet <corbet@lwn.net> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Link: https://patch.msgid.link/20251215120908.3515578-1-jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/lib/lockdep/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions