diff options
author | Ido Schimmel <idosch@nvidia.com> | 2021-06-22 09:50:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-22 10:40:54 -0700 |
commit | b8c48be23c2d03834fe01c3ea757d9df8b97013d (patch) | |
tree | 8a8a0341e864583017591714562fc743ce280ac4 /include/linux/ethtool.h | |
parent | 37a025e83902903df658489665499a548a53423b (diff) | |
download | linux-b8c48be23c2d03834fe01c3ea757d9df8b97013d.tar.gz linux-b8c48be23c2d03834fe01c3ea757d9df8b97013d.tar.bz2 linux-b8c48be23c2d03834fe01c3ea757d9df8b97013d.zip |
ethtool: Use kernel data types for internal EEPROM struct
The struct is not visible to user space and therefore should not use the
user visible data types.
Instead, use internal data types like other structures in the file.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ethtool.h')
-rw-r--r-- | include/linux/ethtool.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index e030f7510cd3..29dbb603bc91 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -401,12 +401,12 @@ struct ethtool_rmon_stats { * required information to the driver. */ struct ethtool_module_eeprom { - __u32 offset; - __u32 length; - __u8 page; - __u8 bank; - __u8 i2c_address; - __u8 *data; + u32 offset; + u32 length; + u8 page; + u8 bank; + u8 i2c_address; + u8 *data; }; /** |