From: Hannes Reinecke <hare@suse.de>
To: Jiri Kosina <jkosina@suse.cz>
Cc: Jesper Juhl <jj@chaosbits.net>,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
osst-users@lists.sourceforge.net,
"James E.J. Bottomley" <James.Bottomley@suse.de>
Subject: Re: [PATCH 08/17][trivial] scsi: Remove unnecessary casts of void ptr returning alloc function return values
Date: Thu, 20 Jan 2011 08:29:22 +0100 [thread overview]
Message-ID: <4D37E452.7030404@suse.de> (raw)
In-Reply-To: <alpine.LNX.2.00.1101191526410.26685@pobox.suse.cz>
On 01/19/2011 03:27 PM, Jiri Kosina wrote:
> On Tue, 9 Nov 2010, 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/scsi/
>>
>>
>> Signed-off-by: Jesper Juhl <jj@chaosbits.net>\
Acked-by: Hannes Reinecke <hare@suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
prev parent reply other threads:[~2011-01-20 7:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-08 23:09 [PATCH 08/17][trivial] scsi: Remove unnecessary casts of void ptr returning alloc function return values Jesper Juhl
2010-11-08 23:34 ` Joe Perches
2010-11-08 23:30 ` Jesper Juhl
2011-01-19 14:27 ` Jiri Kosina
2011-01-20 7:29 ` Hannes Reinecke [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=4D37E452.7030404@suse.de \
--to=hare@suse.de \
--cc=James.Bottomley@suse.de \
--cc=jj@chaosbits.net \
--cc=jkosina@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=osst-users@lists.sourceforge.net \
/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