[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4D37E452.7030404@suse.de>
Date: Thu, 20 Jan 2011 08:29:22 +0100
From: Hannes Reinecke <hare@...e.de>
To: Jiri Kosina <jkosina@...e.cz>
Cc: Jesper Juhl <jj@...osbits.net>, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org, osst-users@...ts.sourceforge.net,
"James E.J. Bottomley" <James.Bottomley@...e.de>
Subject: Re: [PATCH 08/17][trivial] scsi: Remove unnecessary casts of void
ptr returning alloc function return values
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@...osbits.net>\
Acked-by: Hannes Reinecke <hare@...e.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@...e.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
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