All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <1507609105.3552.18.camel@perches.com>

diff --git a/a/1.txt b/N1/1.txt
index 5757711..44e9697 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -6,7 +6,7 @@ On Mon, 2017-10-09 at 22:49 +0200, SF Markus Elfring wrote:
 >  	}
 >  
 >  	entry = kmalloc(sizeof(struct atm_mpoa_qos), GFP_KERNEL);
-> -	if (entry = NULL) {
+> -	if (entry == NULL) {
 > -		pr_info("mpoa: out of memory\n");
 > +	if (!entry)
 
@@ -22,7 +22,7 @@ Unspecified change.  Make sure your changelog is comprehensive.
 >  			kfree(mpc->mps_macs);
 >  		mpc->number_of_mps_macs = 0;
 >  		mpc->mps_macs = kmalloc(num_macs * ETH_ALEN, GFP_KERNEL);
-> -		if (mpc->mps_macs = NULL) {
+> -		if (mpc->mps_macs == NULL) {
 > -			pr_info("(%s) out of mem\n", mpc->dev->name);
 > +		if (!mpc->mps_macs)
 >  			return NULL;
diff --git a/a/content_digest b/N1/content_digest
index e208042..60bcc25 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\05270f15b-5e97-0c3e-3e55-fbded48ae07d@users.sourceforge.net\0"
  "From\0Joe Perches <joe@perches.com>\0"
  "Subject\0Re: [PATCH 1/3] net/atm: Delete an error message for a failed memory allocation in five functions\0"
- "Date\0Tue, 10 Oct 2017 04:18:25 +0000\0"
+ "Date\0Mon, 09 Oct 2017 21:18:25 -0700\0"
  "To\0SF Markus Elfring <elfring@users.sourceforge.net>"
   netdev@vger.kernel.org
   Alexey Dobriyan <adobriyan@gmail.com>
@@ -30,7 +30,7 @@
  ">  \t}\n"
  ">  \n"
  ">  \tentry = kmalloc(sizeof(struct atm_mpoa_qos), GFP_KERNEL);\n"
- "> -\tif (entry = NULL) {\n"
+ "> -\tif (entry == NULL) {\n"
  "> -\t\tpr_info(\"mpoa: out of memory\\n\");\n"
  "> +\tif (!entry)\n"
  "\n"
@@ -46,11 +46,11 @@
  ">  \t\t\tkfree(mpc->mps_macs);\n"
  ">  \t\tmpc->number_of_mps_macs = 0;\n"
  ">  \t\tmpc->mps_macs = kmalloc(num_macs * ETH_ALEN, GFP_KERNEL);\n"
- "> -\t\tif (mpc->mps_macs = NULL) {\n"
+ "> -\t\tif (mpc->mps_macs == NULL) {\n"
  "> -\t\t\tpr_info(\"(%s) out of mem\\n\", mpc->dev->name);\n"
  "> +\t\tif (!mpc->mps_macs)\n"
  ">  \t\t\treturn NULL;\n"
  "\n"
  etc...
 
-73d5ee873824657345985e0bd014804e2df8045359320ea2ce1bb7cd0a3ed19a
+ef9afe3f324165642595e39d0c49bbe9d2a6f49c89cc4537271a3288758ee246

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.