Re: [PATCH 0/2] RFC: introduce typechecking to platform_{get,set}_drvdata
From: Marc Kleine-Budde
Date: Wed Feb 16 2011 - 16:59:47 EST
On 02/16/2011 10:55 PM, Andrew Morton wrote:
> On Wed, 16 Feb 2011 22:49:52 +0100
> Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> wrote:
>
>> From: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
>> To: kernel@xxxxxxxxxxxxxx
>> Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>
> No mailing list was cc'ed.
just noticed, sorry :(
>> Subject: [PATCH 0/2] RFC: introduce typechecking to platform_{get,set}_drvdata
>> Date: Wed, 16 Feb 2011 22:49:52 +0100
>> X-Mailer: git-send-email 1.7.2.3
>>
>> Hello,
>>
>> just found a mis-user of platform_set_drvdata(), so introduce typechecking
>> to these macro definitions.
>
> ick.
>
>> An alternative would be to make them static inline
>> functions.
>
> A vastly preferable alternative! How's about doing that?
Sure...wait for "v2"
regards, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Attachment:
signature.asc
Description: OpenPGP digital signature