From: Petr Mladek <pmladek@suse.com>
To: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Cc: Jessica Yu <jeyu@redhat.com>,
linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Al Viro <viro@ZenIV.linux.org.uk>
Subject: Re: [PATCH] Fix usage of true and false as field names in struct taint_flag
Date: Fri, 23 Dec 2016 12:59:35 +0100 [thread overview]
Message-ID: <20161223115935.GF2541@linux.suse> (raw)
In-Reply-To: <66759.1482432998@turing-police.cc.vt.edu>
On Thu 2016-12-22 13:56:38, Valdis Kletnieks wrote:
> commit 7fd8329ba502ef76dd91db561c7aed696b2c7720
> Author: Petr Mladek <pmladek@suse.com>
> Date: Wed Sep 21 13:47:22 2016 +0200
>
> taint/module: Clean up global and module taint flags handling
>
> Contains this chunk:
Information about a past commits is usually writted using
the following notation:
The commit 7fd8329ba502ef76dd ("taint/module: Clean up global and
module taint flags handling") contains this chunk:
See also Documentation/process/submitting-patches.rst
> --- a/include/linux/kernel.h
^^^
This delimits a standard signature and the commit message below
will be ignored by git. You should omit it in the commit message.
>
> +struct taint_flag {
> + char true; /* character printed when tainted */
> + char false; /* character printed when not tainted */
> + bool module; /* also show as a per-module taint flag */
> +};
>
> and hilarity ensues when an out-of-tree module has this:
>
> # ifndef true
> # define true (1)
> # endif
> # ifndef false
> # define false (0)
> # endif
>
> Change the field names to not shadow something likely to be used
> by third-party modules.
>
> Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
The change itself looks fine. With the above fixes in the commit
message, feel free to use
Reviewed-by: Petr Mladek <pmladek@suse.com>
Thanks for the fix.
Best Regards,
Petr
next prev parent reply other threads:[~2016-12-23 11:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-22 18:56 [PATCH] Fix usage of true and false as field names in struct taint_flag Valdis Kletnieks
2016-12-23 11:59 ` Petr Mladek [this message]
2016-12-26 23:50 ` Valdis.Kletnieks
-- strict thread matches above, loose matches on Subject: below --
2016-12-26 23:49 Valdis Kletnieks
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=20161223115935.GF2541@linux.suse \
--to=pmladek@suse.com \
--cc=Valdis.Kletnieks@vt.edu \
--cc=akpm@linux-foundation.org \
--cc=jeyu@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@ZenIV.linux.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.