diff for duplicates of <20200510215744.21999-7-mchristi@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 7097bf7..fb98ab2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -95,7 +95,7 @@ index 93cb386..f70b6da 100644 - * Clear any trailing newline for the NAA WWN - */ -check_newline: -- if (i_port[strlen(i_port) - 1] == '\n') +- if (i_port[strlen(i_port) - 1] = '\n') - i_port[strlen(i_port) - 1] = '\0'; + ret = target_parse_emulated_name(tport_wwn->tport_proto_id, page, + i_port, VSCSI_NAMELEN, &tpt_id_name); diff --git a/a/content_digest b/N1/content_digest index bb617b9..46a490e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020200510215744.21999-1-mchristi@redhat.com\0" "From\0Mike Christie <mchristi@redhat.com>\0" "Subject\0[PATCH 06/15] xen scsiback: use target_parse_emulated_name\0" - "Date\0Sun, 10 May 2020 16:57:35 -0500\0" + "Date\0Sun, 10 May 2020 21:57:35 +0000\0" "To\0bvanassche@acm.org" bstroesser@ts.fujitsu.com martin.petersen@oracle.com @@ -108,7 +108,7 @@ "-\t * Clear any trailing newline for the NAA WWN\n" "-\t */\n" "-check_newline:\n" - "-\tif (i_port[strlen(i_port) - 1] == '\\n')\n" + "-\tif (i_port[strlen(i_port) - 1] = '\\n')\n" "-\t\ti_port[strlen(i_port) - 1] = '\\0';\n" "+\tret = target_parse_emulated_name(tport_wwn->tport_proto_id, page,\n" "+\t\t\t\t\t i_port, VSCSI_NAMELEN, &tpt_id_name);\n" @@ -123,4 +123,4 @@ "-- \n" 1.8.3.1 -3e3a27b3d7f53b69a05f255b9879607ec01ebad54cc4942c0312ef18be1625e4 +5b510a0fc1e1aa5c9552584b305d5a14b5998106cb7ebd26c049fbe8ea8a326e
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.