linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: fix scsi_proc.c kernel-doc warnings
@ 2011-05-26  2:23 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2011-05-26  2:23 UTC (permalink / raw)
  To: scsi; +Cc: jejbscsi

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix kernel-doc warnings in scsi_proc.c:

Warning(drivers/scsi/scsi_proc.c:390): No description found for parameter 'dev'
Warning(drivers/scsi/scsi_proc.c:390): No description found for parameter 'data'
Warning(drivers/scsi/scsi_proc.c:390): Excess function parameter 's' description in 'always_match'
Warning(drivers/scsi/scsi_proc.c:390): Excess function parameter 'p' description in 'always_match'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/scsi/scsi_proc.c |    5 -----
 1 file changed, 5 deletions(-)

--- linux-2.6.39-git10.orig/drivers/scsi/scsi_proc.c
+++ linux-2.6.39-git10/drivers/scsi/scsi_proc.c
@@ -381,11 +381,6 @@ static ssize_t proc_scsi_write(struct fi
 	return err;
 }
 
-/**
- * proc_scsi_show - show contents of /proc/scsi/scsi (attached devices)
- * @s: output goes here
- * @p: not used
- */
 static int always_match(struct device *dev, void *data)
 {
 	return 1;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-26  2:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-26  2:23 [PATCH] scsi: fix scsi_proc.c kernel-doc warnings Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).