Re: [PATCH net-next] rocker: Remove port_attr_bridge_flags_get assignment

From: Florian Fainelli
Date: Tue Feb 12 2019 - 16:56:31 EST




On 2/12/2019 1:54 PM, David Miller wrote:
> From: Florian Fainelli <f.fainelli@xxxxxxxxx>
> Date: Tue, 12 Feb 2019 13:39:05 -0800
>
>> After 610d2b601bba ("rocker: Remove getting PORT_BRIDGE_FLAGS") we no
>> longer have a port_attr_bridge_flags_get member in the rocker_world_ops
>> structre, fix that.
>>
>> Fixes: 610d2b601bba ("rocker: Remove getting PORT_BRIDGE_FLAGS")
>> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
>
> Applied, I'm also getting this:
>
> drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c: In function ʽmlxsw_sp_port_attr_getʼ:
> drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c:438:19: warning: unused variable ʽmlxsw_spʼ [-Wunused-variable]
> struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp;
> ^~~~~~~~
>
> Related?

Unfortunately yes, that whole patch series was used as test for my build
scripts, which clearly failed miserably here.. Follow-up patches in the
next hours.
--
Florian