From: "Wentao Guan" <guanwentao@uniontech.com>
To: "Paul Menzel" <pmenzel@molgen.mpg.de>
Cc: "luiz.dentz" <luiz.dentz@gmail.com>,
"kiran.k" <kiran.k@intel.com>,
"vijay.satija" <vijay.satija@intel.com>,
linux-bluetooth <linux-bluetooth@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
占俊 <zhanjun@uniontech.com>
Subject: Re: [PATCH] Bluetooth: btintel_pcie: Remove duplicate BTINTEL_PCIE_MAGIC_NUM definition
Date: Tue, 12 Aug 2025 15:26:11 +0000 [thread overview]
Message-ID: <tencent_0665526729786E503E775272@qq.com> (raw)
In-Reply-To: <d002d395-6196-4879-905b-24168c691786@molgen.mpg.de>
Dear Paul,
Thanks for you review,
> > PS: I don`t know why not show a gcc redefined warning or error?
>
> Macros are processed by the preprocessor, and are no variables. But
> maybe I am wrong.
Right, "If a macro is redefined with a definition that is not effectively
the same as the old one, the preprocessor issues a warning and
changes the macro to use the new definition. "
From GCC docs:
https://gcc.gnu.org/onlinedocs/cpp/Undefining-and-Redefining-Macros.html
Best Regards
Wentao Guan
prev parent reply other threads:[~2025-08-12 15:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-12 12:43 [PATCH] Bluetooth: btintel_pcie: Remove duplicate BTINTEL_PCIE_MAGIC_NUM definition Wentao Guan
2025-08-12 13:31 ` bluez.test.bot
2025-08-12 13:56 ` [PATCH] " Paul Menzel
2025-08-12 15:26 ` Wentao Guan [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=tencent_0665526729786E503E775272@qq.com \
--to=guanwentao@uniontech.com \
--cc=kiran.k@intel.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=pmenzel@molgen.mpg.de \
--cc=vijay.satija@intel.com \
--cc=zhanjun@uniontech.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.