remove use of non-standard array range initialization
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v12 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Rebase on top of latest main.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | app/test: remove use of non-standard array range initializationapp/ | +153 | 0 replies | |
| 2/2 | drivers/net: remove use of non-standard array range initializationdrivers/ drivers/ drivers/ +4 more | +617 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Howard Wang |
|---|---|
| 1/2 | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] remove use of non-standard array range initialization
Array range initialization is non-standard and is not provided by all compilers. MSVC does not implement it and ends up emitting errors like the one below:
drivers/net/r8169/r8169_phy.c(380):
error C2143: syntax error: missing ':' before '...'
case CFG_METHOD_48 ... CFG_METHOD_57:
The fix is to explicitly initialize each element in the range.
v2:
- Rebase on top of latest main.
Andre Muezerie (2):
app/test: remove use of non-standard array range initialization drivers/net: remove use of non-standard array range initialization
app/test/test_cryptodev_zuc_test_vectors.h | 156 ++++++- drivers/net/octeon_ep/otx_ep_mbox.c | 24 +- drivers/net/r8169/base/rtl8125a_mcu.c | 8 +- drivers/net/r8169/base/rtl8126a.c | 5 +- drivers/net/r8169/r8169_ethdev.c | 34 +- drivers/net/r8169/r8169_hw.c | 447 ++++++++++++++++++--- drivers/net/r8169/r8169_phy.c | 163 +++++++- drivers/net/r8169/r8169_rxtx.c | 25 +- 8 files changed, 770 insertions(+), 92 deletions(-)
--
2.48.1.vfs.0.0