Re: [linux-next:master 10570/10862] drivers/net/ethernet/airoha/airoha_eth.c:3470:18: warning: division by zero is undefined
Miguel Ojeda <[email protected]> Fri, 31 Jul 2026 17:13:18 +0200
| Newsgroups | dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <CANiq72nFoPshLi_8OAYxpda-rJnRCh=UpB2CovMZXj+vo3BDeA@mail.gmail.com> |
On Fri, Jul 31, 2026 at 5:03=E2=80=AFPM Lorenzo Bianconi <[email protected]= g> wrote: > > Is it a false-positive? I can't see how sizeof((arr)[0]) can be 0 here. `CONFIG_SMP` is not set, so the spinlock is empty, no? Cheers, Miguel