[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170308124914.GD29118@ulmo.ba.sec>
Date: Wed, 8 Mar 2017 13:49:14 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: simran singhal <singhalsimran0@...il.com>
Cc: marvin24@....de, gregkh@...uxfoundation.org,
ac100@...ts.launchpad.net, linux-tegra@...r.kernel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
outreachy-kernel@...glegroups.com
Subject: Re: [PATCH] staging: nvec: Remove unnecessary cast on void pointer
On Fri, Mar 03, 2017 at 01:45:11AM +0530, simran singhal wrote:
> The following Coccinelle script was used to detect this:
>
> @r@
> expression x;
> void* e;
> type T;
> identifier f;
> @@
> (
> *((T *)e)
> |
> ((T *)x)[...]
> |
> ((T*)x)->f
> |
> - (T*)
> e
> )
>
> Signed-off-by: simran singhal <singhalsimran0@...il.com>
> ---
> drivers/staging/nvec/nvec_kbd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists