All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20200510215744.21999-6-mchristi@redhat.com>

diff --git a/a/1.txt b/N1/1.txt
index 8a8a2d8..e4f51e3 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -100,7 +100,7 @@ index 15aabc2..37f66f8 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, VHOST_SCSI_NAMELEN,
diff --git a/a/content_digest b/N1/content_digest
index e147809..d90bf5a 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 05/15] vhost scsi: use target_parse_emulated_name\0"
- "Date\0Sun, 10 May 2020 16:57:34 -0500\0"
+ "Date\0Sun, 10 May 2020 21:57:34 +0000\0"
  "To\0bvanassche@acm.org"
   bstroesser@ts.fujitsu.com
   martin.petersen@oracle.com
@@ -116,7 +116,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, VHOST_SCSI_NAMELEN,\n"
@@ -132,4 +132,4 @@
  "-- \n"
  1.8.3.1
 
-980cf591bd4809fc4f0a40849852953410f1b1f3d55b5baee57a33735d5547fe
+388b6333ac13ad7a196c9cd03cfe7353cbb846a7d2b92f444b0ff1218b89add1

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.