public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] RFC: introduce typechecking to platform_{get,set}_drvdata
@ 2011-02-16 21:55 Marc Kleine-Budde
  2011-02-16 21:55 ` [PATCH 1/2] kernel.h: introduce BUILD_BUG_ON_NOT_SAME_TYPE Marc Kleine-Budde
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Marc Kleine-Budde @ 2011-02-16 21:55 UTC (permalink / raw)
  To: kernel; +Cc: Greg Kroah-Hartman, Andrew Morton, linux-kernel

Hello,

just found a mis-user of platform_set_drvdata(), so introduce typechecking
to these macro definitions. An alternative would be to make them static inline
functions.

comments welcome,
Marc



^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <1297892994-30801-1-git-send-email-mkl@pengutronix.de>]

end of thread, other threads:[~2011-02-16 22:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16 21:55 [PATCH 0/2] RFC: introduce typechecking to platform_{get,set}_drvdata Marc Kleine-Budde
2011-02-16 21:55 ` [PATCH 1/2] kernel.h: introduce BUILD_BUG_ON_NOT_SAME_TYPE Marc Kleine-Budde
2011-02-16 21:55 ` [PATCH 2/2] Driver core: add typechecking to platform_{get,set}_drvdata Marc Kleine-Budde
2011-02-16 22:02 ` [PATCH 0/2] RFC: introduce " Greg KH
     [not found] <1297892994-30801-1-git-send-email-mkl@pengutronix.de>
     [not found] ` <20110216135547.8940e19d.akpm@linux-foundation.org>
2011-02-16 21:59   ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox