Skip to content

Commit 16d7312

Browse files
author
Tzung-Bi Shih
committed
platform/chrome: fix kernel-doc warnings for panic notifier
Fix the following kernel-doc warnings: $ ./scripts/kernel-doc -none drivers/platform/chrome/* drivers/platform/chrome/cros_ec_debugfs.c:54: warning: Function parameter or member 'notifier_panic' not described in 'cros_ec_debugfs' $ ./scripts/kernel-doc -none include/linux/platform_data/cros_ec_proto.h include/linux/platform_data/cros_ec_proto.h:187: warning: Function parameter or member 'panic_notifier' not described in 'cros_ec_device' Cc: Rob Barnes <[email protected]> Fixes: d90fa2c ("platform/chrome: cros_ec: Poll EC log on EC panic") Signed-off-by: Tzung-Bi Shih <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 2ae3c61 commit 16d7312

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/platform/chrome/cros_ec_debugfs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ static DECLARE_WAIT_QUEUE_HEAD(cros_ec_debugfs_log_wq);
3838
* @log_mutex: mutex to protect circular buffer
3939
* @log_poll_work: recurring task to poll EC for new console log data
4040
* @panicinfo_blob: panicinfo debugfs blob
41+
* @notifier_panic: notifier_block to let kernel to flush buffered log
42+
* when EC panic
4143
*/
4244
struct cros_ec_debugfs {
4345
struct cros_ec_dev *ec;

include/linux/platform_data/cros_ec_proto.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ struct cros_ec_command {
140140
* main EC.
141141
* @pd: The platform_device used by the mfd driver to interface with the
142142
* PD behind an EC.
143+
* @panic_notifier: EC panic notifier.
143144
*/
144145
struct cros_ec_device {
145146
/* These are used by other drivers that want to talk to the EC */

0 commit comments

Comments
 (0)