summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/sa1100_generic.h
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2014-02-26 14:57:00 +0100
committerJames Bottomley <JBottomley@Parallels.com>2014-03-19 19:42:52 +0100
commitc613d061ce01be1f4e195f4666d4a99e5284cb5d (patch)
treefce5bc4bb0a9e710ebc1c482e3218a7a67a283a3 /drivers/pcmcia/sa1100_generic.h
parent[SCSI] scsi_debug: make pseudo_primary static (diff)
downloadlinux-c613d061ce01be1f4e195f4666d4a99e5284cb5d.tar.xz
linux-c613d061ce01be1f4e195f4666d4a99e5284cb5d.zip
[SCSI] scsi_debug: fix duplicate dif_errors increment
It is unnecessary to increase dif_errors in dif_verify(), because the caller will increment it when dif_verify() detects failure. This bug was introduced by commit beb40ea42bd6 ("[SCSI] scsi_debug: reduce duplication between prot_verify_read and prot_verify_write") Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Acked-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/pcmcia/sa1100_generic.h')
0 files changed, 0 insertions, 0 deletions