[SCSI] ch: fix sparse shadowed variable warnings
authorHarvey Harrison <harvey.harrison@gmail.com>
Tue, 1 Apr 2008 05:05:30 +0000 (22:05 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:19:08 +0000 (12:19 -0500)
commitd70d4667e9eead06aa38be947274fda22dcf923b
tree1c8912cbfe627b91153579bc118f44edf62535d4
parent8c5e03d3cf70161413aaf7152dafa96daca5bb2f
[SCSI] ch: fix sparse shadowed variable warnings

Replace the global err array with ch_err.
drivers/scsi/ch.c:271:6: warning: symbol 'err' shadows an earlier one
drivers/scsi/ch.c:116:3: originally declared here

Replace the temporary cmd buffer with ch_err to avoid shadowing the cmd
function parameter.
drivers/scsi/ch.c:724:11: warning: symbol 'cmd' shadows an earlier one
drivers/scsi/ch.c:596:20: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ch.c