From: Greg KH <gregkh@linuxfoundation.org>
To: Sandhya Bankar <bankarsandhya512@gmail.com>
Cc: outreachy-kernel@googlegroups.com, wsa@the-dreams.de,
elfring@users.sourceforge.net, sudipm.mukherjee@gmail.com
Subject: Re: [PATCH] Staging: ks7010: Drop memory allocation cast.
Date: Sat, 17 Sep 2016 23:30:18 +0200 [thread overview]
Message-ID: <20160917213018.GA16657@kroah.com> (raw)
In-Reply-To: <20160916173854.GA3176@sandhya>
On Fri, Sep 16, 2016 at 11:08:54PM +0530, Sandhya Bankar wrote:
> Drop cast on the result of kzalloc.
>
> The semantic patch that makes this change is as follows:
>
> @@
> type T;
> @@
>
> - (T *)
> (\(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
> kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\)(...))
>
>
> Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
> Acked-by: Julia Lawall <julia.lawall@lip6.fr>
> ---
> drivers/staging/ks7010/ks7010_sdio.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
> index f9aec4f..c40e6c5 100755
All of your patches have the file permissions issue, please fix it up
and resend all of them, I've had to drop all of your pending patches
from my to-apply queue because of this.
thanks,
greg k-h
prev parent reply other threads:[~2016-09-17 21:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-16 17:38 [PATCH] Staging: ks7010: Drop memory allocation cast Sandhya Bankar
2016-09-16 18:45 ` [Outreachy kernel] " Julia Lawall
2016-09-17 21:30 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160917213018.GA16657@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=bankarsandhya512@gmail.com \
--cc=elfring@users.sourceforge.net \
--cc=outreachy-kernel@googlegroups.com \
--cc=sudipm.mukherjee@gmail.com \
--cc=wsa@the-dreams.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.