mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Cc: Andy Whitcroft <apw@canonical.com>,
	linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] checkpatch: update $allowed_asm_includes macros, add reboot.h and time.h
Date: Thu, 21 Aug 2014 08:01:56 -0700	[thread overview]
Message-ID: <1408633316.23250.35.camel@joe-AO725> (raw)
In-Reply-To: <1408606992-9977-1-git-send-email-ryazanov.s.a@gmail.com>

On Thu, 2014-08-21 at 11:43 +0400, Sergey Ryazanov wrote:
> Several architectures (e.g. x86, MIPS, Blackfin) have asm/reboot.h and
> asm/time.h header files, which are not included in linux/reboot.h and
> linux/time.h headers. This lead to generation of false positive errors.

I've no objection.

> Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
> ---
>  scripts/checkpatch.pl | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index 31a731e..29d6b56 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -425,7 +425,9 @@ foreach my $entry (@mode_permission_funcs) {
>  
>  our $allowed_asm_includes = qr{(?x:
>  	irq|
> -	memory
> +	memory|
> +	time|
> +	reboot
>  )};
>  # memory.h: ARM has a custom one
>  




      reply	other threads:[~2014-08-21 15:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21  7:43 Sergey Ryazanov
2014-08-21 15:01 ` Joe Perches [this message]

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=1408633316.23250.35.camel@joe-AO725 \
    --to=joe@perches.com \
    --cc=akpm@linux-foundation.org \
    --cc=apw@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ryazanov.s.a@gmail.com \
    /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

all inboxes | Powered by JetHome®