diff for duplicates of <505342C9.30609@bfs.de> diff --git a/a/1.txt b/N1/1.txt index fc3efb7..78636d0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -14,7 +14,7 @@ Am 14.09.2012 10:15, schrieb Peter Senna Tschudin: > expression x; > @@ > -> if (x@p1 = NULL) { ... kfree@p2(x); ... return ...; } +> if (x@p1 == NULL) { ... kfree@p2(x); ... return ...; } > > @unchanged exists@ > position r.p1,r.p2; @@ -23,7 +23,7 @@ Am 14.09.2012 10:15, schrieb Peter Senna Tschudin: > statement S; > @@ > -> if (x@p1 = NULL) { ... when != I(x,...) S +> if (x@p1 == NULL) { ... when != I(x,...) S > when != e = e1 > when != e += e1 > when != e -= e1 @@ -40,7 +40,7 @@ Am 14.09.2012 10:15, schrieb Peter Senna Tschudin: > expression x; > @@ > -> ... when != true x@p1 = NULL +> ... when != true x@p1 == NULL > kfree@p2(x); > > @depends on !ok && unchanged@ @@ -73,7 +73,7 @@ re, > - r = kmalloc(sizeof(*r), GFP_ATOMIC); -> - if (r = NULL) +> - if (r == NULL) > - goto out; > - > - memset(r, 0, sizeof(*r)); diff --git a/a/content_digest b/N1/content_digest index 712f8d5..7ec421a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01347610518-3099-1-git-send-email-peter.senna@gmail.com\0" "From\0walter harms <wharms@bfs.de>\0" "Subject\0Re: [PATCH v2 5/9] drivers/staging/gdm72xx/gdm_sdio.c: Remove useless kfree\0" - "Date\0Fri, 14 Sep 2012 14:44:25 +0000\0" + "Date\0Fri, 14 Sep 2012 16:44:25 +0200\0" "To\0Peter Senna Tschudin <peter.senna@gmail.com>\0" "Cc\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>" kernel-janitors@vger.kernel.org @@ -25,7 +25,7 @@ "> expression x;\n" "> @@\n" "> \n" - "> if (x@p1 = NULL) { ... kfree@p2(x); ... return ...; }\n" + "> if (x@p1 == NULL) { ... kfree@p2(x); ... return ...; }\n" "> \n" "> @unchanged exists@\n" "> position r.p1,r.p2;\n" @@ -34,7 +34,7 @@ "> statement S;\n" "> @@\n" "> \n" - "> if (x@p1 = NULL) { ... when != I(x,...) S\n" + "> if (x@p1 == NULL) { ... when != I(x,...) S\n" "> when != e = e1\n" "> when != e += e1\n" "> when != e -= e1\n" @@ -51,7 +51,7 @@ "> expression x;\n" "> @@\n" "> \n" - "> ... when != true x@p1 = NULL\n" + "> ... when != true x@p1 == NULL\n" "> kfree@p2(x);\n" "> \n" "> @depends on !ok && unchanged@\n" @@ -84,7 +84,7 @@ "\n" "\n" "> -\tr = kmalloc(sizeof(*r), GFP_ATOMIC);\n" - "> -\tif (r = NULL)\n" + "> -\tif (r == NULL)\n" "> -\t\tgoto out;\n" "> -\n" "> -\tmemset(r, 0, sizeof(*r));\n" @@ -105,4 +105,4 @@ "> \n" > -57c7a93c3c1015eaa8c4a17c20d7b1db24d4f5d68e48bbcef8ce15c656f83b84 +966594f6b0c46583711a32606d3690038f27f37d83f6244a775cb55f8a9023a1
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.