]> err.no Git - linux-2.6/commit
[SCSI] scsi_queue_work() documented return value is incorrect
authorMichael Reed <mdr@sgi.com>
Fri, 4 Aug 2006 17:09:24 +0000 (12:09 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 6 Aug 2006 16:36:23 +0000 (11:36 -0500)
commitdd7e2f2266acf66ec882baa6fbd79f853b5fe966
tree1bfcc0c3e31c08d7a82cf88f6ae48e30298bebdb
parent9e5c50fa8686ede7c37b939a0b950df50346eb3d
[SCSI] scsi_queue_work() documented return value is incorrect

If you examine the queue_work() routine you'll see that it returns
1 on success, 0 if the work is already queued.

This patch corrects the source code documentation for the
scsi_queue_work function.

Signed-off-by: Michael Reed <mdr@sgi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/hosts.c