From: Ido Schimmel Date: Tue, 22 Jun 2021 06:50:50 +0000 (+0300) Subject: ethtool: Use kernel data types for internal EEPROM struct X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b8c48be23c2d03834fe01c3ea757d9df8b97013d;p=linux.git 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 Signed-off-by: David S. Miller --- diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index e030f7510cd3a..29dbb603bc915 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; }; /**