Re: [PATCH v2 0/3] use static_assertion for build errors

2023-11-13 Thread Tyler Retzlaff
On Mon, Nov 13, 2023 at 06:13:30PM +, Ferruh Yigit wrote: > On 11/13/2023 5:06 PM, Stephen Hemminger wrote: > > This series fixes a couple places where expressions that could not > > be evaluated as constant early in compiler passes were used. And then > > converts RTE_BUILD_BUG_ON() with stati

RE: [PATCH v2 0/3] use static_assertion for build errors

2023-11-13 Thread Morten Brørup
> From: Ferruh Yigit [mailto:ferruh.yi...@amd.com] > Sent: Monday, 13 November 2023 19.14 > > On 11/13/2023 5:06 PM, Stephen Hemminger wrote: > > This series fixes a couple places where expressions that could not > > be evaluated as constant early in compiler passes were used. And then > > convert

Re: [PATCH v2 0/3] use static_assertion for build errors

2023-11-13 Thread Ferruh Yigit
On 11/13/2023 5:06 PM, Stephen Hemminger wrote: > This series fixes a couple places where expressions that could not > be evaluated as constant early in compiler passes were used. And then > converts RTE_BUILD_BUG_ON() with static_assert. > > Stephen Hemminger (3): > event/opdl: fix non-constant

[PATCH v2 0/3] use static_assertion for build errors

2023-11-13 Thread Stephen Hemminger
This series fixes a couple places where expressions that could not be evaluated as constant early in compiler passes were used. And then converts RTE_BUILD_BUG_ON() with static_assert. Stephen Hemminger (3): event/opdl: fix non-constant compile time assertion net/sfc: fix non-constant expressi