Lines Matching refs:error
452 /* ignore any bsg add error - we just can't do sgio */
651 int error;
655 error = transport_class_register(&fc_host_class);
656 if (error)
657 return error;
658 error = transport_class_register(&fc_vport_class);
659 if (error)
661 error = transport_class_register(&fc_rport_class);
662 if (error)
664 error = transport_class_register(&fc_transport_class);
665 if (error)
675 return error;
2051 * This routine protects against error handlers getting invoked while a
2053 * connectivity. If the error handlers are allowed to proceed, requests
2064 * If the rport is not blocked, normal error handling continues.
2358 * 1 on success / 0 already queued / < 0 for error
2591 int error;
2641 error = device_add(dev);
2642 if (error) {
2650 /* ignore any bsg add error - we just can't do sgio */
3010 * that the role will be resumed. If it doesn't normal error processing
3344 int error;
3393 error = device_add(dev);
3394 if (error) {
3401 error = fci->f->vport_create(vport, ids->disable);
3402 if (error) {
3412 error = sysfs_create_link(&shost->shost_gendev.kobj,
3414 if (error)
3418 __func__, dev_name(dev), error);
3445 return error;
3541 "shost%d channel %d - error %d\n", __func__,
3580 /* the blk_end_sync_io() doesn't check the error */