Re: [PATCH 14/22] libfc: use error code for fc_rport_error()

2016-08-04 Thread Johannes Thumshirn
On Wed, Aug 03, 2016 at 03:13:14PM +0200, Hannes Reinecke wrote: > We only ever use the 'fp' argument for fc_rport_error() to > encapsulate the error code, so we can as well do away with that > and pass the error directly. > > Signed-off-by: Hannes Reinecke Acked-by: Johannes Thumshirn -- Joh

[PATCH 14/22] libfc: use error code for fc_rport_error()

2016-08-03 Thread Hannes Reinecke
We only ever use the 'fp' argument for fc_rport_error() to encapsulate the error code, so we can as well do away with that and pass the error directly. Signed-off-by: Hannes Reinecke --- drivers/scsi/libfc/fc_rport.c | 97 +-- include/scsi/libfc.h