All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nam Cao <namcao@linutronix.de>
To: Joe Perches <joe@perches.com>, Andy Whitcroft <apw@canonical.com>,
	Dwaipayan Ray <dwaipayanray1@gmail.com>,
	Lukas Bulwahn <lukas.bulwahn@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Checkpatch false positive: externs should be avoided in .c files
Date: Wed, 04 Feb 2026 08:28:29 +0100	[thread overview]
Message-ID: <87ikcddl2a.fsf@yellow.woof> (raw)
In-Reply-To: <c15a558ae3a3e6837f9eb157201f87b2e0f219a4.camel@perches.com>

Joe Perches <joe@perches.com> writes:
> Please use the more common style like:
>
> atomic_t __section(".sdata") hart_lottery;

Ah, thanks! Will do that along with v2 patch.

Nam

      reply	other threads:[~2026-02-04  7:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-02 12:05 Checkpatch false positive: externs should be avoided in .c files Nam Cao
2026-02-02 15:24 ` Joe Perches
2026-02-03  5:57 ` Joe Perches
2026-02-04  7:28   ` Nam Cao [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=87ikcddl2a.fsf@yellow.woof \
    --to=namcao@linutronix.de \
    --cc=apw@canonical.com \
    --cc=dwaipayanray1@gmail.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lukas.bulwahn@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 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.