You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ethtool: Clean up definitions of rule location arrays in RX NFC
Correct the description of ethtool_rxnfc::rule_locs; it is an array of currently used locations, not all possible valid locations. Add note that drivers must not use ethtool_rxnfc::rule_locs. The rule_locs argument to ethtool_ops::get_rxnfc is either NULL or a pointer to an array of u32, so change the parameter type accordingly. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
434495c50e
commit
815c7db5c8
@@ -2241,7 +2241,7 @@ static int bnx2x_set_phys_id(struct net_device *dev,
|
||||
}
|
||||
|
||||
static int bnx2x_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info,
|
||||
void *rules __always_unused)
|
||||
u32 *rules __always_unused)
|
||||
{
|
||||
struct bnx2x *bp = netdev_priv(dev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user