[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTik57Lz3zEK-qKi2b6FVtieRROe5V4auMLh=-mVH@mail.gmail.com>
Date: Mon, 14 Mar 2011 10:47:25 -0700
From: "Luis R. Rodriguez" <mcgrof@...il.com>
To: Ilia Mirkin <imirkin@...m.mit.edu>,
Naveen Singh <nsingh@...eros.com>
Cc: Greg Kroah-Hartman <gregkh@...e.de>, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 01/24] staging: ath6kl: Remove NULL check before kfree
On Sat, Mar 12, 2011 at 9:28 PM, Ilia Mirkin <imirkin@...m.mit.edu> wrote:
> This patch was generated by the following semantic patch:
> // <smpl>
> @@ expression E; @@
> - if (E != NULL) { kfree(E); }
> + kfree(E);
>
> @@ expression E; @@
> - if (E != NULL) { kfree(E); E = NULL; }
> + kfree(E);
> + E = NULL;
> // </smpl>
>
> Signed-off-by: Ilia Mirkin <imirkin@...m.mit.edu>
This is pretty awesome, thanks for using spatch and submitting stuff
for ath6kl :)
Acked-by: Luis R. Rodriguez <lrodriguez@...eros.com>
Greg, I'll rebase my next series on top of this patch.
Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists