archive mirror
 help / color / mirror / Atom feed
From: Ian Pilcher <>
To: Andy Whitcroft <>, Joe Perches <>
Cc: Dwaipayan Ray <>,
	Lukas Bulwahn <>,
	"" <>
Subject: False positive EXPORT_SYMBOL warning with NS variants
Date: Fri, 3 Sep 2021 11:01:23 -0500	[thread overview]
Message-ID: <> (raw)

$ cat foo.c
// SPDX-License-Identifier: GPL-2.0-only
void (*foo)(void);

$ scripts/ -f foo.c
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
#3: FILE: foo.c:3:

The non-NS EXPORT_SYMBOL variants don't trigger this warning.

                  In Soviet Russia, Google searches you!

             reply	other threads:[~2021-09-03 16:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03 16:01 Ian Pilcher [this message]
2021-09-05  5:51 ` False positive EXPORT_SYMBOL warning with NS variants Joe Perches
2021-09-09 15:00   ` Ian Pilcher
2021-10-07 16:04 ` [PATCH] checkpatch: Improve EXPORT_SYMBOL test for EXPORT_SYMBOL_NS uses Joe Perches

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).