[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4D5C48C4.1090403@pengutronix.de>
Date: Wed, 16 Feb 2011 22:59:32 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: kernel@...gutronix.de, Greg Kroah-Hartman <gregkh@...e.de>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/2] RFC: introduce typechecking to platform_{get,set}_drvdata
On 02/16/2011 10:55 PM, Andrew Morton wrote:
> On Wed, 16 Feb 2011 22:49:52 +0100
> Marc Kleine-Budde <mkl@...gutronix.de> wrote:
>
>> From: Marc Kleine-Budde <mkl@...gutronix.de>
>> To: kernel@...gutronix.de
>> Cc: Greg Kroah-Hartman <gregkh@...e.de>, Andrew Morton <akpm@...ux-foundation.org>
>
> 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 |
Download attachment "signature.asc" of type "application/pgp-signature" (263 bytes)
Powered by blists - more mailing lists