Commit 914deed
unix: add missing ETHTOOL_FLAG_ constants
Some constants were removed in CL 600516 that included changes for the
Linux kernel 6.10.
This kernel version moved C defines to an enum ethtool_header_flags that
was not picked up by the mkall.sh script.
For enums, there is a perl script that needs to be run manually, and the
output must be added by hand to the list of constants in unix/linux/types.go.
See https://elixir.bootlin.com/linux/v6.10.3/source/include/uapi/linux/ethtool_netlink.h#L120
Fixes golang/go#68761
Change-Id: Idb189886d257d0fe66a4e832757a469e17f86c34
GitHub-Last-Rev: 08b8ef5
GitHub-Pull-Request: #212
Reviewed-on: https://go-review.googlesource.com/c/sys/+/604098
Reviewed-by: Ian Lance Taylor <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>1 parent 4c7077e commit 914deed
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3551 | 3551 | | |
3552 | 3552 | | |
3553 | 3553 | | |
3554 | | - | |
3555 | | - | |
| 3554 | + | |
| 3555 | + | |
3556 | 3556 | | |
3557 | 3557 | | |
3558 | 3558 | | |
| |||
3787 | 3787 | | |
3788 | 3788 | | |
3789 | 3789 | | |
| 3790 | + | |
| 3791 | + | |
| 3792 | + | |
3790 | 3793 | | |
3791 | 3794 | | |
3792 | 3795 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments