[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tencent_0665526729786E503E775272@qq.com>
Date: Tue, 12 Aug 2025 15:26:11 +0000
From: "Wentao Guan" <guanwentao@...ontech.com>
To: "Paul Menzel" <pmenzel@...gen.mpg.de>
Cc: "luiz.dentz" <luiz.dentz@...il.com>, "kiran.k" <kiran.k@...el.com>, "vijay.satija" <vijay.satija@...el.com>, "linux-bluetooth" <linux-bluetooth@...r.kernel.org>, "linux-kernel" <linux-kernel@...r.kernel.org>, "占俊" <zhanjun@...ontech.com>
Subject: Re: [PATCH] Bluetooth: btintel_pcie: Remove duplicate BTINTEL_PCIE_MAGIC_NUM definition
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
Powered by blists - more mailing lists