summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-lp873x.c
diff options
context:
space:
mode:
authorChris Leech <cleech@redhat.com>2016-10-21 23:10:53 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-11-08 23:29:58 +0100
commitd5c3eb26d9ad78a2705ec675dd2399e985c5ee52 (patch)
treedf4147b0370df632c0b67e005d6aa9fb6fbcb392 /drivers/gpio/gpio-lp873x.c
parentscsi: ufs: optimize clock gate work (diff)
downloadlinux-d5c3eb26d9ad78a2705ec675dd2399e985c5ee52.tar.xz
linux-d5c3eb26d9ad78a2705ec675dd2399e985c5ee52.zip
scsi: libfc: Don't have fc_exch_find log errors on a new exchange
With the error message I added in "libfc: sanity check cpu number extracted from xid" I didn't account for the fact that fc_exch_find is called with FC_XID_UNKNOWN at the start of a new exchange if we are the responder. It doesn't come up with the initiator much, but that's basically every exchange for a target. By checking the xid for FC_XID_UNKNOWN first, we not only prevent the erroneous error message, but skip the unnecessary lookup attempt as well. [mkp: applied by hand due to conflict with Hannes' libfc patch series] Signed-off-by: Chris Leech <cleech@redhat.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/gpio/gpio-lp873x.c')
0 files changed, 0 insertions, 0 deletions