diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2011-03-30 22:46:18 +0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-05-01 18:56:57 +0400 |
commit | f28a0a96130e7557d0cdcba0bcd394735eadfad8 (patch) | |
tree | 5b7d92d65aae06db15f1ef6a693324955eb5ccdf /lib/locking-selftest-wsem.h | |
parent | 80d79440ad98a660bd6d81e5c06e85581ff6ac46 (diff) | |
download | linux-f28a0a96130e7557d0cdcba0bcd394735eadfad8.tar.xz |
[SCSI] qla2xxx: Check for a match before attempting to set FCP-priority information.
Modifying qla24xx_get_fcp_prio() to return a 'found' status
allows the driver to short circuit the 'set FCP-priority' call
and reduce the amount of noise generated in the messages file:
scsi(5): Unable to activate fcp priority, ret=0x102
scsi(5): Unable to activate fcp priority, ret=0x102
Also make qla24xx_get_fcp_prio() static.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'lib/locking-selftest-wsem.h')
0 files changed, 0 insertions, 0 deletions