From: Sam Ravnborg <sam@ravnborg.org>
To: LKML <linux-kernel@vger.kernel.org>,
linux-kbuild <linux-kbuild@vger.kernel.org>
Subject: Re: [RFC] __ref annotation of function/data referencing __init/__exit
Date: Mon, 28 Jan 2008 22:38:11 +0100 [thread overview]
Message-ID: <20080128213811.GE3842@uranus.ravnborg.org> (raw)
In-Reply-To: <20080126184454.GA25591@uranus.ravnborg.org>
On Sat, Jan 26, 2008 at 07:44:54PM +0100, Sam Ravnborg wrote:
> Today we have the following annotations for functions/data
> referencing __init/__exit functions / data:
>
> __init_refok for functions
> __initdata_refok for data
>
> and
> _exit_refok for functions
>
> To simplify it and to introduce a shorter annotation I
> will suggest the following annotation:
>
> __ref <= for functions (code) that
> references __*init / __*exit
> __refdata <= for variables
> __refconst <= for const variables
>
This patch was includedin todays kbuild.git submission
as I heard no negative feedback.
Sam
next prev parent reply other threads:[~2008-01-28 21:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-26 18:44 [RFC] __ref annotation of function/data referencing __init/__exit Sam Ravnborg
2008-01-28 21:38 ` Sam Ravnborg [this message]
2008-01-29 19:55 ` Jan Engelhardt
2008-01-29 20:12 ` Sam Ravnborg
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=20080128213811.GE3842@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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