All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <efa66c16-7998-9ceb-0be6-d62dd249a2dc@users.sourceforge.net>

diff --git a/a/1.txt b/N1/1.txt
index 5ed2282..811f34b 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -20,7 +20,7 @@ index 3e5fa78..4e271f9 100644
  		return -EINVAL;
  
 -	param = kmalloc(p->length, GFP_KERNEL);
--	if (param = NULL)
+-	if (param == NULL)
 -		return -ENOMEM;
 -
 -	if (copy_from_user(param, p->pointer, p->length)) {
@@ -38,7 +38,7 @@ index 3e5fa78..4e271f9 100644
  		return -EINVAL;
  
 -	param = kmalloc(p->length, GFP_KERNEL);
--	if (param = NULL)
+-	if (param == NULL)
 -		return -ENOMEM;
 -
 -	if (copy_from_user(param, p->pointer, p->length)) {
diff --git a/a/content_digest b/N1/content_digest
index 86d222a..eaeeda3 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\0f0cd7a82-e603-6a91-0afd-33bbd1658cab@users.sourceforge.net\0"
  "From\0SF Markus Elfring <elfring@users.sourceforge.net>\0"
  "Subject\0[PATCH 1/3] hostap: Use memdup_user() rather than duplicating its implementation\0"
- "Date\0Sat, 20 Aug 2016 16:45:08 +0000\0"
+ "Date\0Sat, 20 Aug 2016 18:45:08 +0200\0"
  "To\0linux-wireless@vger.kernel.org"
   netdev@vger.kernel.org
   Jouni Malinen <j@w1.fi>
@@ -34,7 +34,7 @@
  " \t\treturn -EINVAL;\n"
  " \n"
  "-\tparam = kmalloc(p->length, GFP_KERNEL);\n"
- "-\tif (param = NULL)\n"
+ "-\tif (param == NULL)\n"
  "-\t\treturn -ENOMEM;\n"
  "-\n"
  "-\tif (copy_from_user(param, p->pointer, p->length)) {\n"
@@ -52,7 +52,7 @@
  " \t\treturn -EINVAL;\n"
  " \n"
  "-\tparam = kmalloc(p->length, GFP_KERNEL);\n"
- "-\tif (param = NULL)\n"
+ "-\tif (param == NULL)\n"
  "-\t\treturn -ENOMEM;\n"
  "-\n"
  "-\tif (copy_from_user(param, p->pointer, p->length)) {\n"
@@ -68,4 +68,4 @@
  "-- \n"
  2.9.3
 
-ffc331b1219394beb0584fbd87f6206526e785b61fe09243ce34b63a73262b04
+119ef93d99539bcbbee560187ce688fcf56082b321aa01ce35b4bdf4a0d1c7ec

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.