Re: [PATCH v3 4/5] net/intel: use portable version of __builtin_add_overflow

2025-03-11 Thread Andre Muezerie
On Wed, Mar 05, 2025 at 04:52:09PM +, Bruce Richardson wrote: > On Wed, Mar 05, 2025 at 08:38:09AM -0800, Andre Muezerie wrote: > > __builtin_add_overflow is gcc specific. It should be replaced with > > a portable version that can also be used with other compilers. > > > > Signed-off-by: Andre

Re: [PATCH v3 4/5] net/intel: use portable version of __builtin_add_overflow

2025-03-05 Thread Bruce Richardson
On Wed, Mar 05, 2025 at 08:38:09AM -0800, Andre Muezerie wrote: > __builtin_add_overflow is gcc specific. It should be replaced with > a portable version that can also be used with other compilers. > > Signed-off-by: Andre Muezerie > --- > drivers/net/intel/ice/base/ice_nvm.c | 9 - > 1

[PATCH v3 4/5] net/intel: use portable version of __builtin_add_overflow

2025-03-05 Thread Andre Muezerie
__builtin_add_overflow is gcc specific. It should be replaced with a portable version that can also be used with other compilers. Signed-off-by: Andre Muezerie --- drivers/net/intel/ice/base/ice_nvm.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/intel/