: Andre Muezerie ; dev@dpdk.org; Bruce
> Richardson ; David Marchand
>
> 主题: Re: [PATCH v3 2/3] drivers/net: remove use of non-standard array range
> initialization
>
>
> External mail : This email originated from outside the organization. Do not
> reply, click links, or op
-邮件原件-
发件人: Thomas Monjalon
发送时间: 2025年6月18日 17:25
收件人: 王颢
抄送: Andre Muezerie ; dev@dpdk.org; Bruce
Richardson ; David Marchand
主题: Re: [PATCH v3 2/3] drivers/net: remove use of non-standard array range
initialization
External mail : This email originated from outside the
16/06/2025 09:37, David Marchand:
> On Thu, Jun 12, 2025 at 4:18 PM Andre Muezerie
> wrote:
> > diff --git a/drivers/net/r8169/base/rtl8125a_mcu.c
> > b/drivers/net/r8169/base/rtl8125a_mcu.c
> > index 5a69b3e094..c9bf5fc6ad 100644
> > --- a/drivers/net/r8169/base/rtl8125a_mcu.c
> > +++ b/drivers/
On Thu, Jun 12, 2025 at 4:18 PM Andre Muezerie
wrote:
> diff --git a/drivers/net/r8169/base/rtl8125a_mcu.c
> b/drivers/net/r8169/base/rtl8125a_mcu.c
> index 5a69b3e094..c9bf5fc6ad 100644
> --- a/drivers/net/r8169/base/rtl8125a_mcu.c
> +++ b/drivers/net/r8169/base/rtl8125a_mcu.c
> @@ -162,7 +162,1
Array range initialization is non-standard and is not provided by
all compilers. MSVC does not implement it and ends up emitting
errors like the one below:
drivers/net/r8169/r8169_phy.c(380):
error C2143: syntax error: missing ':' before '...'
case CFG_METHOD_48 ... CFG_METHOD_57:
The fix is
5 matches
Mail list logo