All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20201112172008.GA944848@nvidia.com>

diff --git a/a/1.txt b/N1/1.txt
index 03ecf71..90bde07 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -16,7 +16,7 @@ On Thu, Nov 12, 2020 at 10:54:43PM +0800, YueHaibing wrote:
 > @@ -2338,7 +2338,7 @@ static int srpt_cm_req_recv(struct srpt_device *const sdev,
 >  
 >  	if (IS_ERR_OR_NULL(ch->sess)) {
->  		WARN_ON_ONCE(ch->sess == NULL);
+>  		WARN_ON_ONCE(ch->sess = NULL);
 > -		ret = PTR_ERR(ch->sess);
 > +		ret = PTR_ERR_OR_ZERO(ch->sess);
 >  		ch->sess = NULL;
@@ -61,6 +61,6 @@ index 6017d525084a0c..80f9673956ced2 100644
 +	if (!ch->sess)
 +		ch->sess = ERR_PTR(-ENOENT);
 +	if (IS_ERR(ch->sess)) {
- 		WARN_ON_ONCE(ch->sess == NULL);
+ 		WARN_ON_ONCE(ch->sess = NULL);
  		ret = PTR_ERR(ch->sess);
  		ch->sess = NULL;
diff --git a/a/content_digest b/N1/content_digest
index ac587db..9903877 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,13 +1,13 @@
  "ref\020201112145443.17832-1-yuehaibing@huawei.com\0"
  "From\0Jason Gunthorpe <jgg@nvidia.com>\0"
  "Subject\0Re: [PATCH] IB/srpt: Fix passing zero to 'PTR_ERR'\0"
- "Date\0Thu, 12 Nov 2020 13:20:08 -0400\0"
+ "Date\0Thu, 12 Nov 2020 17:20:08 +0000\0"
  "To\0YueHaibing <yuehaibing@huawei.com>\0"
- "Cc\0<bvanassche@acm.org>"
-  <dledford@redhat.com>
-  <linux-rdma@vger.kernel.org>
-  <target-devel@vger.kernel.org>
- " <linux-kernel@vger.kernel.org>\0"
+ "Cc\0bvanassche@acm.org"
+  dledford@redhat.com
+  linux-rdma@vger.kernel.org
+  target-devel@vger.kernel.org
+ " linux-kernel@vger.kernel.org\0"
  "\00:1\0"
  "b\0"
  "On Thu, Nov 12, 2020 at 10:54:43PM +0800, YueHaibing wrote:\n"
@@ -28,7 +28,7 @@
  "> @@ -2338,7 +2338,7 @@ static int srpt_cm_req_recv(struct srpt_device *const sdev,\n"
  ">  \n"
  ">  \tif (IS_ERR_OR_NULL(ch->sess)) {\n"
- ">  \t\tWARN_ON_ONCE(ch->sess == NULL);\n"
+ ">  \t\tWARN_ON_ONCE(ch->sess = NULL);\n"
  "> -\t\tret = PTR_ERR(ch->sess);\n"
  "> +\t\tret = PTR_ERR_OR_ZERO(ch->sess);\n"
  ">  \t\tch->sess = NULL;\n"
@@ -73,8 +73,8 @@
  "+\tif (!ch->sess)\n"
  "+\t\tch->sess = ERR_PTR(-ENOENT);\n"
  "+\tif (IS_ERR(ch->sess)) {\n"
- " \t\tWARN_ON_ONCE(ch->sess == NULL);\n"
+ " \t\tWARN_ON_ONCE(ch->sess = NULL);\n"
  " \t\tret = PTR_ERR(ch->sess);\n"
  " \t\tch->sess = NULL;"
 
-1c889f73c62c5da18bb80de446edcc799af1696f03818a3902c6fa9406884211
+3e9d78f6c99c30f38bc52738b24074c110b5234c79a86d586cbbf557a1749739

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.