mlxsw: reg: Rename p_eth_proto_adm to full name p_eth_proto_admin
Rename p_eth_proto_adm to p_eth_proto_admin in mlxsw_reg_ptys_eth_unpack function. Signed-off-by: Shalom Toledo <shalomt@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c5b870df69
commit
e6f66f50bf
@ -4091,13 +4091,13 @@ static inline void mlxsw_reg_ptys_eth_pack(char *payload, u8 local_port,
|
||||
|
||||
static inline void mlxsw_reg_ptys_eth_unpack(char *payload,
|
||||
u32 *p_eth_proto_cap,
|
||||
u32 *p_eth_proto_adm,
|
||||
u32 *p_eth_proto_admin,
|
||||
u32 *p_eth_proto_oper)
|
||||
{
|
||||
if (p_eth_proto_cap)
|
||||
*p_eth_proto_cap = mlxsw_reg_ptys_eth_proto_cap_get(payload);
|
||||
if (p_eth_proto_adm)
|
||||
*p_eth_proto_adm = mlxsw_reg_ptys_eth_proto_admin_get(payload);
|
||||
if (p_eth_proto_admin)
|
||||
*p_eth_proto_admin = mlxsw_reg_ptys_eth_proto_admin_get(payload);
|
||||
if (p_eth_proto_oper)
|
||||
*p_eth_proto_oper = mlxsw_reg_ptys_eth_proto_oper_get(payload);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user