define __builtin_add_overflow for MSVC
Status from this message: Applied to dpdk-next-net-intel.
Get series with b4
b4 am [email protected]Versions newest first
Changes in v6 from the cover letter
- Moved definition of __builtin_add_overflow to the only driver that needs it, making it private to that driver.
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | net/intel: define __builtin_add_overflow for MSVCdrivers/ | +9 | 2 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Bruce Richardson | Morten Brørup |
|---|---|---|
| 1/1 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/1] define __builtin_add_overflow for MSVC
__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.
v6:
- Moved definition of __builtin_add_overflow to the only driver that needs it, making it private to that driver.
v5:
- Combined patches 1 with 5 and 2 with 3.
v4:
- Added define in ice_osdep.h to use portable version of __builtin_add_overflow when using MSVC.
- Undid all changes from drivers/net/intel/ice/base/ice_nvm.c.
v3:
- Rebase on top of latest main.
Andre Muezerie (1):
net/intel: define __builtin_add_overflow for MSVC
drivers/net/intel/ice/base/ice_osdep.h | 9 +++++++++ 1 file changed, 9 insertions(+)
--
2.49.0.vfs.0.3