scsi: qedi: Remove additional char from boot target iqnname
authorManish Rangankar <mrangankar@marvell.com>
Wed, 8 Apr 2020 06:43:27 +0000 (23:43 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 14 Apr 2020 01:44:19 +0000 (21:44 -0400)
commit2f1ea39870c95aa9fff6a0b48757625a0b22f551
treed37bb4ed8747bc413df34409884224e909cb1934
parentfbbef0dad79f31baca4fdc09779918c70c1b26ca
scsi: qedi: Remove additional char from boot target iqnname

While parsing the iSCSI TLV data to MFW request, a newline was added to the
firmware boot target iqnname string. Because of this, we were getting the
following error even after the boot target was successfully logged in:

"[qedi_get_protocol_tlv_data:1197]:1: Boot target not set"

Remove the trailing newline.

[mkp: clarified commit desc]

Link: https://lore.kernel.org/r/20200408064332.19377-2-mrangankar@marvell.com
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedi/qedi_main.c