[PATCH 0/7] drivers/base: remove kernel-doc warnings
From: Pierre-Louis Bossart
Date: Wed Mar 31 2021 - 19:27:20 EST
Trivial fixes to reduce the number of warnings with make W=1
After this patchset, there are still a number of false positives
reported, I left them as is.
drivers/base/power/runtime.c:347: warning: Excess function parameter
'dev' description in '__rpm_callback'
drivers/base/platform.c:1545:20: warning: no previous prototype for
‘early_platform_cleanup’ [-Wmissing-prototypes]
1545 | void __weak __init early_platform_cleanup(void) { }
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/base/attribute_container.c:304: warning: Function parameter or
member 'fn' not described in 'attribute_container_device_trigger_safe'
drivers/base/attribute_container.c:304: warning: Function parameter or
member 'undo' not described in
'attribute_container_device_trigger_safe'
drivers/base/attribute_container.c:357: warning: Function parameter or
member 'fn' not described in 'attribute_container_device_trigger'
drivers/base/module.c: In function ‘module_add_driver’:
drivers/base/module.c:36:6: warning: variable ‘no_warn’ set but not
used [-Wunused-but-set-variable]
36 | int no_warn;
| ^~~~~~~
Pierre-Louis Bossart (7):
driver core: remove kernel-doc warnings
driver core: attribute_container: remove kernel-doc warnings
PM: runtime: remove kernel-doc warnings
PM: wakeup: fix kernel-doc warnings and fix typos
PM: clk: remove kernel-doc warning
platform-msi: fix kernel-doc warnings
devcoredump: fix kernel-doc warning
drivers/base/attribute_container.c | 4 ++++
drivers/base/core.c | 11 ++++++-----
drivers/base/devcoredump.c | 4 ++--
drivers/base/platform-msi.c | 3 ++-
drivers/base/power/clock_ops.c | 2 +-
drivers/base/power/runtime.c | 2 +-
drivers/base/power/wakeup.c | 17 +++++++++--------
7 files changed, 25 insertions(+), 18 deletions(-)
base-commit: 7a43c78d0573e0bbbb0456b033e2b9a895b89464
--
2.25.1