Re: [PATCH v6 1/1] net/intel: define __builtin_add_overflow for MSVC

2025-06-09 Thread Bruce Richardson
On Thu, Jun 05, 2025 at 04:57:24PM +0200, Morten Brørup wrote: > +TO: David and Thomas, were part of the discussion > +CC: Stephen > > > From: Andre Muezerie [mailto:andre...@linux.microsoft.com] > > Sent: Thursday, 5 June 2025 16.47 > > > > __builtin_add_overflow is gcc specific. A macro needs t

RE: [PATCH v6 1/1] net/intel: define __builtin_add_overflow for MSVC

2025-06-05 Thread Morten Brørup
+TO: David and Thomas, were part of the discussion +CC: Stephen > From: Andre Muezerie [mailto:andre...@linux.microsoft.com] > Sent: Thursday, 5 June 2025 16.47 > > __builtin_add_overflow is gcc specific. A macro needs to be defined > for code using this to be compiled with MSVC. > Since only one

[PATCH v6 1/1] net/intel: define __builtin_add_overflow for MSVC

2025-06-05 Thread Andre Muezerie
__builtin_add_overflow is gcc specific. A macro needs to be defined for code using this to be compiled with MSVC. Since only one driver is using this, this patch adds the macro to that driver only. It can be moved to some common place if/when needed. Signed-off-by: Andre Muezerie Acked-by: Bruce