summaryrefslogtreecommitdiff
path: root/kernel/kexec.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2014-02-26 13:57:00 (GMT)
committerJames Bottomley <JBottomley@Parallels.com>2014-03-19 18:42:52 (GMT)
commitc613d061ce01be1f4e195f4666d4a99e5284cb5d (patch)
treefce5bc4bb0a9e710ebc1c482e3218a7a67a283a3 /kernel/kexec.c
parent11ddceca99ae9a3e124b91dfe9c5342ee09f376d (diff)
downloadlinux-c613d061ce01be1f4e195f4666d4a99e5284cb5d.tar.xz
[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 'kernel/kexec.c')
0 files changed, 0 insertions, 0 deletions