All of lore.kernel.org
 help / color / mirror / Atom feed
* ice driver compiler warning
@ 2026-08-01  9:00 Morten Brørup
  2026-08-01 15:22 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Morten Brørup @ 2026-08-01  9:00 UTC (permalink / raw)
  To: bruce.richardson, Anatoly Burakov; +Cc: dev

ice driver maintainers,

Is the ice base driver still defining structure fields with [0], or has it been updated to use []?
Maybe the workaround in meson.build is not required anymore:

# Bugzilla ID: 678
if (toolchain == 'gcc' and cc.version().version_compare('>=11.0.0'))
    error_cflags += ['-Wno-array-bounds']
endif

Ref:
https://github.com/DPDK/dpdk/blob/main/drivers/net/intel/ice/base/meson.build#L49


Venlig hilsen / Kind regards,
-Morten Brørup



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ice driver compiler warning
  2026-08-01  9:00 ice driver compiler warning Morten Brørup
@ 2026-08-01 15:22 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2026-08-01 15:22 UTC (permalink / raw)
  To: Morten Brørup; +Cc: bruce.richardson, Anatoly Burakov, dev

On Sat, 1 Aug 2026 11:00:38 +0200
Morten Brørup <mb@smartsharesystems.com> wrote:

> ice driver maintainers,
> 
> Is the ice base driver still defining structure fields with [0], or has it been updated to use []?
> Maybe the workaround in meson.build is not required anymore:
> 
> # Bugzilla ID: 678
> if (toolchain == 'gcc' and cc.version().version_compare('>=11.0.0'))
>     error_cflags += ['-Wno-array-bounds']
> endif
> 
> Ref:
> https://github.com/DPDK/dpdk/blob/main/drivers/net/intel/ice/base/meson.build#L49
> 
> 
> Venlig hilsen / Kind regards,
> -Morten Brørup
> 
> 

Looks like it could be dropped. I see no errors with Gcc 18

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-01 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-01  9:00 ice driver compiler warning Morten Brørup
2026-08-01 15:22 ` Stephen Hemminger

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.