Skip to contentSkip to conversation

(Fixed whitespace) Fix make mandocs for libata-core.c

PATCH Kurt Wall 1 participant 1 message Jan 31, 2006 libata

lore
Share & tools
lore

Kurt Wall

author
#0 lore raw

"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.

linux-2.6.16-rc1/drivers/scsi/libata-core.c renamed from linux-2.6.16-rc1/drivers/scsi/libata-core.c.orig +6 -0
@@ -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.