diff for duplicates of <20100514144920.GC17487@bicker> diff --git a/a/1.txt b/N1/1.txt index b413ee2..2643771 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -10,8 +10,8 @@ index 254c580..15f0c7e 100644 buf_size = hpi_entity_size(src); *dst = kmalloc(buf_size, GFP_KERNEL); -- if (dst == NULL) -+ if (*dst == NULL) +- if (dst = NULL) ++ if (*dst = NULL) return HPI_ERROR_MEMORY_ALLOC; memcpy(*dst, src, buf_size); return 0; diff --git a/a/content_digest b/N1/content_digest index 1217507..0b16247 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[patch -next] asihpi: testing the wrong variable\0" - "Date\0Fri, 14 May 2010 16:49:20 +0200\0" + "Date\0Fri, 14 May 2010 14:49:20 +0000\0" "To\0Jaroslav Kysela <perex@perex.cz>\0" "Cc\0Takashi Iwai <tiwai@suse.de>" Eliot Blennerhassett <eblennerhassett@audioscience.com> @@ -20,10 +20,10 @@ " \n" " \tbuf_size = hpi_entity_size(src);\n" " \t*dst = kmalloc(buf_size, GFP_KERNEL);\n" - "-\tif (dst == NULL)\n" - "+\tif (*dst == NULL)\n" + "-\tif (dst = NULL)\n" + "+\tif (*dst = NULL)\n" " \t\treturn HPI_ERROR_MEMORY_ALLOC;\n" " \tmemcpy(*dst, src, buf_size);\n" " \treturn 0;" -e4ab8aa9f6eddd5f5aa398ceb074c49eb18703df9711954b6d54e4ab9720cb4e +163da0b47065c011c919c324bddce1ca68543fe2b6e58b665eb4d87d9eaf12af
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.