diff options
-rw-r--r-- | drivers/scsi/scsi_transport_iscsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index f3e664628d7a..783e33c65eb7 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c | |||
@@ -692,6 +692,7 @@ int iscsi_add_session(struct iscsi_cls_session *session, unsigned int target_id) | |||
692 | "Too many iscsi targets. Max " | 692 | "Too many iscsi targets. Max " |
693 | "number of targets is %d.\n", | 693 | "number of targets is %d.\n", |
694 | ISCSI_MAX_TARGET - 1); | 694 | ISCSI_MAX_TARGET - 1); |
695 | err = -EOVERFLOW; | ||
695 | goto release_host; | 696 | goto release_host; |
696 | } | 697 | } |
697 | } | 698 | } |