nvme: fc: provide a descriptive error
authorJohannes Thumshirn <jthumshirn@suse.de>
Thu, 19 Apr 2018 17:43:42 +0000 (19:43 +0200)
committerKeith Busch <keith.busch@intel.com>
Thu, 26 Apr 2018 19:25:58 +0000 (13:25 -0600)
commit4fb135ad154060bf289ccf35734e3d3b6e5029a7
treed07bec4b5dd29c059c8bf98fcfa541dbaf539163
parent69bfd470f4623d2d57ad62cb33791cded0c662f4
nvme: fc: provide a descriptive error

Provide a descriptive error in case an lport to rport association
isn't found when creating the FC-NVME controller.

Currently it's very hard to debug the reason for a failed connect
attempt without a look at the source.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
drivers/nvme/host/fc.c