From: Roel Kluin Date: Wed, 11 Aug 2010 01:01:17 +0000 (-0700) Subject: dc395x: decrease iteration for tag_number of max_command in start_scsi() X-Git-Tag: v2.6.36-rc1~267 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8187b945aa4ed9ea298518e3dac691ea09724e5;p=pandora-kernel.git dc395x: decrease iteration for tag_number of max_command in start_scsi() The tag_number reaches dcb->max_command + 1 after the loop, but when the tag_number equals dcb->max_command an error message is already issued. The last iteration therefore appears obsolete. Signed-off-by: Roel Kluin Cc: Oliver Neukum Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed