All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <49DDC321.60509@fastmail.fm>

diff --git a/a/1.txt b/N1/1.txt
index c488d6a..c289164 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -12,12 +12,12 @@ Jack Stone wrote:
 > --- a/drivers/atm/lanai.c
 > +++ b/drivers/atm/lanai.c
 > @@ -1459,7 +1459,7 @@ static int __devinit vcc_table_allocate(struct lanai_dev *lanai)
->  	return (lanai->vccs = NULL) ? -ENOMEM : 0;
+>  	return (lanai->vccs == NULL) ? -ENOMEM : 0;
 >  #else
 >  	int bytes = (lanai->num_vci) * sizeof(struct lanai_vcc *);
 > -	lanai->vccs = (struct lanai_vcc **) vmalloc(bytes);
 > +	lanai->vccs = vmalloc(bytes);
->  	if (unlikely(lanai->vccs = NULL))
+>  	if (unlikely(lanai->vccs == NULL))
 >  		return -ENOMEM;
 >  	memset(lanai->vccs, 0, bytes);
 >
diff --git a/a/content_digest b/N1/content_digest
index fd23937..634f3b1 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -4,7 +4,7 @@
  "ref\01239189748-11703-4-git-send-email-jwjstone@fastmail.fm\0"
  "From\0Jack Stone <jwjstone@fastmail.fm>\0"
  "Subject\0Re: [PATCH 03/56] atm: Remove void casts\0"
- "Date\0Thu, 09 Apr 2009 09:42:57 +0000\0"
+ "Date\0Thu, 09 Apr 2009 10:42:57 +0100\0"
  "To\0linux-kernel@vger.kernel.org\0"
  "Cc\0jeff@garzik.org"
   kernel-janitors@vger.kernel.org
@@ -25,14 +25,14 @@
  "> --- a/drivers/atm/lanai.c\n"
  "> +++ b/drivers/atm/lanai.c\n"
  "> @@ -1459,7 +1459,7 @@ static int __devinit vcc_table_allocate(struct lanai_dev *lanai)\n"
- ">  \treturn (lanai->vccs = NULL) ? -ENOMEM : 0;\n"
+ ">  \treturn (lanai->vccs == NULL) ? -ENOMEM : 0;\n"
  ">  #else\n"
  ">  \tint bytes = (lanai->num_vci) * sizeof(struct lanai_vcc *);\n"
  "> -\tlanai->vccs = (struct lanai_vcc **) vmalloc(bytes);\n"
  "> +\tlanai->vccs = vmalloc(bytes);\n"
- ">  \tif (unlikely(lanai->vccs = NULL))\n"
+ ">  \tif (unlikely(lanai->vccs == NULL))\n"
  ">  \t\treturn -ENOMEM;\n"
  ">  \tmemset(lanai->vccs, 0, bytes);\n"
  >
 
-f3955a2e51db06aca33917ff38c936a51b59a83bfa4ebd52459d6842576d5d51
+b33af5b413c074215ba256acf5811a9cae27ca5c8af1b604f740570bf6618429

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.