target: fix unused shift in core_scsi3_pri_report_capabilities
authorJoern Engel <joern@logfs.org>
Tue, 2 Sep 2014 21:50:01 +0000 (17:50 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 17 Sep 2014 22:23:00 +0000 (15:23 -0700)
commitc435285df112da1125e61d826b03014a4e769386
tree970a9ff212bf9c45d2796222b0b9f455fdfed9db
parentce31c1b0dc4038a1dec64585d892adb73d9c45f4
target: fix unused shift in core_scsi3_pri_report_capabilities

Clearly a right-shift was meant.  Effectively doesn't make a difference,
as add_len is hard-coded to 8 and the high byte will be zero no matter
which way you shift.  But I hate leaving bad examples for others to
copy.

Found by coverity.

Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_pr.c