[Open-FCoE] [PATCH v2] libfc: rport retry on LS_RJT from certain ELS

Vasu Dev vasu.dev at linux.intel.com
Fri Jan 16 22:58:06 UTC 2009

Chris Leech wrote:
> +
> +	if (rdata->retries < rdata->local_port->max_retry_count) {
> +		FC_DEBUG_RPORT("Error %ld in state %s, retrying\n"
> +				PTR_ERR(fp), fc_rport_state(rport));
Got a build error due to a missing , between " and PTR_ERR, details:

drivers/scsi/libfc/fc_rport.c: In function 'fc_rport_error_retry'
drivers/scsi/libfc/fc_rport.c:467: error: expected ')' before 'PTR_ERR'
drivers/scsi/libfc/fc_rport.c:467: warning: too few arguments for format

This can be fixed while applying the patch.

More information about the devel mailing list