[PATCH 045/117] fas216: Fix two source code comments

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

 



All fas216_done() callers pass a host byte (DID_*) as argument.
Additionally, fas216_done() passes its second argument 'result' to
functions that interpret it as a host byte. Hence change the description
of the second fas216*_done() argument from "driver byte" into "host byte".

Cc: Russell King <linux@xxxxxxxxxxxxxxx>
Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
---
 drivers/scsi/arm/fas216.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/arm/fas216.c b/drivers/scsi/arm/fas216.c
index 2e687ce60753..b9ca25c77075 100644
--- a/drivers/scsi/arm/fas216.c
+++ b/drivers/scsi/arm/fas216.c
@@ -1999,7 +1999,7 @@ static void fas216_devicereset_done(FAS216_Info *info, struct scsi_cmnd *SCpnt,
  * fas216_rq_sns_done - Finish processing automatic request sense command
  * @info: interface that completed
  * @SCpnt: command that completed
- * @result: driver byte of result
+ * @result: host byte of result
  *
  * Finish processing automatic request sense command
  */
@@ -2033,7 +2033,7 @@ static void fas216_rq_sns_done(FAS216_Info *info, struct scsi_cmnd *SCpnt,
  * fas216_std_done - finish processing of standard command
  * @info: interface that completed
  * @SCpnt: command that completed
- * @result: driver byte of result
+ * @result: host byte of result
  *
  * Finish processing of standard command
  */



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux