On 02/16/2011 10:55 PM, Andrew Morton wrote: > On Wed, 16 Feb 2011 22:49:52 +0100 > Marc Kleine-Budde wrote: > >> From: Marc Kleine-Budde >> To: kernel@pengutronix.de >> Cc: Greg Kroah-Hartman , Andrew Morton > > 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 |