1 /* Reduced from uninit false positive seen on Linux kernel with
4 typedef signed char s8
;
5 typedef unsigned int u32
;
6 typedef __SIZE_TYPE__
size_t;
8 void *memset(void *s
, int c
, size_t n
);
10 struct ethtool_link_settings
{
12 s8 link_mode_masks_nwords
;
15 struct ethtool_link_ksettings
{
17 struct ethtool_link_settings base
;
20 struct ethtool_link_settings
21 ethtool_get_link_ksettings(void) {
22 struct ethtool_link_ksettings link_ksettings
;
24 memset(&link_ksettings
, 0, sizeof(link_ksettings
));
25 link_ksettings
.base
.cmd
= 0x0000004c;
26 link_ksettings
.base
.link_mode_masks_nwords
= -3;
28 return link_ksettings
.base
;