Fix make mandocs for libata-core.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"make mandocs" complains when on libata-core.c because several
functions have undescribed parameters. This patch adds silences those
warnings by adding descriptions for the undescribed parameters.

Signed-off-by: Kurt Wall <[email protected]>


--- ./linux-2.6.16-rc1/drivers/scsi/libata-core.c.orig	2006-01-21 09:30:59.000000000 -0500
+++ ./linux-2.6.16-rc1/drivers/scsi/libata-core.c	2006-01-30 22:18:32.000000000 -0500
@@ -4163,6 +4163,8 @@
 /**
  *	ata_port_start - Set port up for dma.
  *	@ap: Port to initialize
+ *  @dev: Device whose port will be prepared for DMA
+ *  @cmd: Command to issue
  *
  *	Called just after data structures for each port are
  *	initialized.  Allocates space for PRD table.
@@ -4224,6 +4226,8 @@
 
 /**
  *	ata_device_resume - wakeup a previously suspended devices
+ *  @ap: port to which command is being issued
+ *  @dev: device to wake up from suspended state
  *
  *	Kick the drive back into action, by sending it an idle immediate
  *	command and making sure its transfer mode matches between drive
@@ -4246,6 +4250,8 @@
 
 /**
  *	ata_device_suspend - prepare a device for suspend
+ *  @ap: port to wich command is being issued
+ *  @dev: device to prepare for suspend
  *
  *	Flush the cache on the drive, if appropriate, then issue a
  *	standbynow command.
-- 
Critic, n.:
	A person who boasts himself hard to please because nobody tries
to please him.
		-- Ambrose Bierce, "The Devil's Dictionary"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux