From: Artem Bityutskiy <dedekind1@gmail.com>
To: Jesper Juhl <jj@chaosbits.net>
Cc: Kirk Lee <kirk@hpc.ee.ntu.edu.tw>,
linux-mtd@lists.infradead.org,
David Woodhouse <dwmw2@infradead.org>,
trivial@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 06/17][trivial] mtd: Remove unnecessary casts of void ptr returning alloc function return values
Date: Fri, 26 Nov 2010 17:40:28 +0200 [thread overview]
Message-ID: <1290786028.2552.20.camel@localhost> (raw)
In-Reply-To: <alpine.LNX.2.00.1011082327290.23697@swampdragon.chaosbits.net>
On Tue, 2010-11-09 at 00:09 +0100, Jesper Juhl wrote:
> Hi,
>
> The [vk][cmz]alloc(_node) family of functions return void pointers which
> it's completely unnecessary/pointless to cast to other pointer types since
> that happens implicitly.
>
> This patch removes such casts from drivers/mtd/
Pushed to l2-mtd-2.6.git, thanks.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
prev parent reply other threads:[~2010-11-26 15:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-08 23:09 [PATCH 06/17][trivial] mtd: Remove unnecessary casts of void ptr returning alloc function return values Jesper Juhl
2010-11-26 15:40 ` Artem Bityutskiy [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=1290786028.2552.20.camel@localhost \
--to=dedekind1@gmail.com \
--cc=dwmw2@infradead.org \
--cc=jj@chaosbits.net \
--cc=kirk@hpc.ee.ntu.edu.tw \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=trivial@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).