commit | d3ba9e6f6157e6fa047d853936dabb981e315080 | [log] [tgz] |
---|---|---|
author | Andre Guedes <[email protected]> | Fri Apr 24 13:16:13 2020 -0700 |
committer | Jeff Kirsher <[email protected]> | Fri May 22 18:21:51 2020 -0700 |
tree | d7827820e62fccbb9be623da3b1297a3bdcb95de | |
parent | 16fdc16c6bff6764fc8c9a5f10640dfdb7ce201a [diff] |
igc: Fix 'sw_idx' type in struct igc_nfc_rule The 'sw_idx' field from 'struct igc_nfc_rule' is u16 type but it is assigned an u32 value in igc_ethtool_init_nfc_rule(). This patch changes 'sw_idx' type to u32 so they match. Also, it makes more sense to call this field 'location' since it holds the NFC rule location. Signed-off-by: Andre Guedes <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>