From: Greg KH <gregkh@suse.de>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: kernel@pengutronix.de, Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] RFC: introduce typechecking to platform_{get,set}_drvdata
Date: Wed, 16 Feb 2011 14:02:35 -0800 [thread overview]
Message-ID: <20110216220235.GA30120@suse.de> (raw)
In-Reply-To: <1297893351-2900-1-git-send-email-mkl@pengutronix.de>
On Wed, Feb 16, 2011 at 10:55:49PM +0100, Marc Kleine-Budde wrote:
> 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.
Make it a static inline, that way you don't have to create that new
macro, as the build will warn/break right away.
thanks,
greg k-h
next prev parent reply other threads:[~2011-02-16 22:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Greg KH [this message]
[not found] <1297892994-30801-1-git-send-email-mkl@pengutronix.de>
[not found] ` <20110216135547.8940e19d.akpm@linux-foundation.org>
2011-02-16 21:59 ` [PATCH 0/2] RFC: introduce " Marc Kleine-Budde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110216220235.GA30120@suse.de \
--to=gregkh@suse.de \
--cc=akpm@linux-foundation.org \
--cc=kernel@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mkl@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox