diff for duplicates of <50544633.3040901@bfs.de> diff --git a/a/1.txt b/N1/1.txt index bb3428f..6a0bb53 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,7 +18,7 @@ Am 14.09.2012 17:13, 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; @@ -27,7 +27,7 @@ Am 14.09.2012 17:13, 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 @@ -44,7 +44,7 @@ Am 14.09.2012 17:13, schrieb Peter Senna Tschudin: > expression x; > @@ > -> ... when != true x@p1 = NULL +> ... when != true x@p1 == NULL > kfree@p2(x); > > @depends on !ok && unchanged@ @@ -72,7 +72,7 @@ Am 14.09.2012 17:13, schrieb Peter Senna Tschudin: > - struct sdio_rx *r = NULL; > - > - r = kmalloc(sizeof(*r), GFP_ATOMIC); -> - if (r = NULL) +> - if (r == NULL) > - goto out; > + struct sdio_rx *r; > diff --git a/a/content_digest b/N1/content_digest index 939771b..2ec1f24 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01347635630-19880-1-git-send-email-peter.senna@gmail.com\0" "From\0walter harms <wharms@bfs.de>\0" "Subject\0Re: [PATCH v3 5/9] drivers/staging/gdm72xx/gdm_sdio.c: Remove useless kfree\0" - "Date\0Sat, 15 Sep 2012 09:11:15 +0000\0" + "Date\0Sat, 15 Sep 2012 11:11:15 +0200\0" "To\0Peter Senna Tschudin <peter.senna@gmail.com>\0" "Cc\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>" kernel-janitors@vger.kernel.org @@ -29,7 +29,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" @@ -38,7 +38,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" @@ -55,7 +55,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" @@ -83,7 +83,7 @@ "> -\tstruct sdio_rx *r = NULL;\n" "> -\n" "> -\tr = kmalloc(sizeof(*r), GFP_ATOMIC);\n" - "> -\tif (r = NULL)\n" + "> -\tif (r == NULL)\n" "> -\t\tgoto out;\n" "> +\tstruct sdio_rx *r;\n" "> \n" @@ -105,4 +105,4 @@ "> \n" > -81b9c6c896229610d62aee73a213b1add215f8d1994ee3ca64bc4afef250a03f +c3ef6232f1d5ff49d9cd1a8ff9d1597eb6949a54f6970cea5f6ce078453e16ff
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.