Re: [dpdk-kmods] linux/igb_uio: fix build for switch fall through

2021-12-16 Thread Ferruh Yigit
On 12/15/2021 11:15 PM, Stephen Hemminger wrote: On Wed, 15 Dec 2021 21:04:30 + Ferruh Yigit wrote: On 12/15/2021 7:20 PM, Stephen Hemminger wrote: On Wed, 15 Dec 2021 18:48:59 + Ferruh Yigit wrote: Linux is using '-Wimplicit-fallthrough=5' compiler option, which doesn't take an

Re: [dpdk-kmods] linux/igb_uio: fix build for switch fall through

2021-12-15 Thread Stephen Hemminger
On Wed, 15 Dec 2021 21:04:30 + Ferruh Yigit wrote: > On 12/15/2021 7:20 PM, Stephen Hemminger wrote: > > On Wed, 15 Dec 2021 18:48:59 + > > Ferruh Yigit wrote: > > > >> Linux is using '-Wimplicit-fallthrough=5' compiler option, which doesn't > >> take any fall through comments into ac

Re: [dpdk-kmods] linux/igb_uio: fix build for switch fall through

2021-12-15 Thread Ferruh Yigit
On 12/15/2021 7:20 PM, Stephen Hemminger wrote: On Wed, 15 Dec 2021 18:48:59 + Ferruh Yigit wrote: Linux is using '-Wimplicit-fallthrough=5' compiler option, which doesn't take any fall through comments into account but only uses compiler 'fallthrough' attribute to document fall through ac

Re: [dpdk-kmods] linux/igb_uio: fix build for switch fall through

2021-12-15 Thread Stephen Hemminger
On Wed, 15 Dec 2021 18:48:59 + Ferruh Yigit wrote: > Linux is using '-Wimplicit-fallthrough=5' compiler option, which doesn't > take any fall through comments into account but only uses compiler > 'fallthrough' attribute to document fall through action is intended. > > "falls through" commen

[dpdk-kmods] linux/igb_uio: fix build for switch fall through

2021-12-15 Thread Ferruh Yigit
Linux is using '-Wimplicit-fallthrough=5' compiler option, which doesn't take any fall through comments into account but only uses compiler 'fallthrough' attribute to document fall through action is intended. "falls through" comment was used in the code which is causing a build error now, this pat