From: Andrew Vasquez Date: Wed, 30 Mar 2011 18:46:18 +0000 (-0700) Subject: [SCSI] qla2xxx: Check for a match before attempting to set FCP-priority information. X-Git-Tag: v3.0-rc1~383^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f28a0a96130e7557d0cdcba0bcd394735eadfad8;p=pandora-kernel.git [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 Signed-off-by: Madhuranath Iyengar Signed-off-by: James Bottomley --- Reading git-diff-tree failed