Remove <env.h> from <net.h>
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest22 patches 6 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | net: Remove env_get_ip helper() functioncmd/ cmd/ drivers/ +2 more | +9 | 0 replies | |
| 2/22 | congatec: Include env.h to permit reading the environmentboard/ | +1 | 0 replies | |
| 3/22 | dhelectronics: Include env.h to permit reading the environmentboard/ | +1 | 0 replies | |
| 4/22 | imx8ulp_evk: Include env.h to permit reading the environmentboard/ | +1 | 0 replies | |
| 5/22 | net: Include string.h in net-legacy.hinclude/ | +1 | 0 replies | |
| 6/22 | venice: Include env.h to permit reading the environmentboard/ | +1 | 0 replies | |
| 7/22 | phytec: Include env.h to permit reading the environmentboard/ | +1 | 0 replies | |
| 8/22 | ronetix: Include env.h to permit reading the environmentboard/ | +1 | 0 replies | |
| 9/22 | toradex: Include env.h to permit reading the environmentboard/ board/ | +2 | 0 replies | |
| 10/22 | advantech: Include env.h in imx8qm_dmsse20_a1board/ | +1 | 0 replies | |
| 11/22 | tegra: Include env.h to permit reading the environmentarch/ | +1 | 0 replies | |
| 12/22 | synology: Include env.h to permit reading the environmentboard/ | +1 | 0 replies | |
| 13/22 | amlogic: Include env.h to permit reading the environmentboard/ | +1 | 0 replies | |
| 14/22 | freescale: Include env.h to permit reading the environmentboard/ | +1 | 0 replies | |
| 15/22 | google: Include env.h to permit reading the environmentboard/ | +2 | 0 replies | |
| 16/22 | liebherr: Include env.h to permit reading the environmentboard/ | +1 | 1 reply | |
| 17/22 | technexion: Include env.h to permit reading the environmentboard/ | +1 | 0 replies | |
| 18/22 | net: Include byteorder in net6.hinclude/ | +1 | 0 replies | |
| 19/22 | net: Include env.h in pcap.cnet/ | +1 | 0 replies | |
| 20/22 | net: dc2114x: Include env.h to permit reading the environmentdrivers/ | +1 | 0 replies | |
| 21/22 | global: Avoid indirect inclusion of <env.h> from <net.h>board/ board/ board/ +19 more | +22 | 4 replies | |
| 22/22 | include/net.h: Drop <env.h>include/ | +0 | 0 replies |
Reviews trailers per patch
6 of 22 patches have a Reviewed-by or Acked-by.
| Patch | Jerome Forissier | Oliver Graute | Stefan Roese | Tony Dinh | Viacheslav Bocharov | Lukasz Majewski | Martyn Welch | Wolfgang Wallner | Ilias Apalodimas |
|---|---|---|---|---|---|---|---|---|---|
| 1/22 | |||||||||
| 2/22 | |||||||||
| 3/22 | |||||||||
| 4/22 | |||||||||
| 5/22 | R-b | ||||||||
| 6/22 | |||||||||
| 7/22 | |||||||||
| 8/22 | |||||||||
| 9/22 | |||||||||
| 10/22 | A-b | ||||||||
| 11/22 | |||||||||
| 12/22 | R-b | R-b | |||||||
| 13/22 | R-b | ||||||||
| 14/22 | |||||||||
| 15/22 | |||||||||
| 16/22 | R-b R-b | ||||||||
| 17/22 | |||||||||
| 18/22 | |||||||||
| 19/22 | |||||||||
| 20/22 | |||||||||
| 21/22 | R-b | R-b | R-b | A-b | |||||
| 22/22 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 9 reviewers.
Cover letter [PATCH v3 00/22] Remove <env.h> from <net.h>
Hey all,
This is a v3 of Simon's series[1] and depends on the series[2] I posted the other day that removes <env.h> from <command.h>. With this series done, I believe we've tackled all of the current cases of headers which include <env.h> without directly needing it. Much of this series is in fact Simon's v2 with the main differneces being:
- Removing <env.h> from <net.h> at the end
- Removing env_to_ip() given how little it's used rather than shuffling around where it's declared and un-inline'ing it. For a rarely used helper, this ends up being cleaner I think. Especially looking at some of the users (which called env_get repeatedly). If there's strong opinion here about using the other method[3] we can do that instead.
- Setting aside for now how to handle CMD_ELF=y and NO_NET=y because today it's actually fine as we unconditionally build lib/net_utils.c where string_to_ip() is defined. I'm unsure if a further series is warranted here or not. We rely on link-time optimization to keep code readable too.
[1]: https://lore.kernel.org/all/[email protected]
[2]: https://lore.kernel.org/all/[email protected]
[3]: https://lore.kernel.org/all/[email protected]
Signature · 1 line
Tom