]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mlxsw: spectrum_dpipe: Fix sparse warnings
authorArkadi Sharshevsky <arkadis@mellanox.com>
Thu, 18 May 2017 07:22:45 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 May 2017 15:05:31 +0000 (11:05 -0400)
commitd5d6add01e952228576c1f048b449198a3e03ba8
tree91359056ab3ba5bbda0a845f81c7b754bd36d769
parent9b910d29661c2765766282a1f58b9af6f703ca8c
mlxsw: spectrum_dpipe: Fix sparse warnings

drivers/net/ethernet/mellanox/mlxsw//spectrum_dpipe.c:221:52: warning:
Using plain integer as NULL pointer
drivers/net/ethernet/mellanox/mlxsw//spectrum_dpipe.c:221:74: warning:
Using plain integer as NULL pointer

Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c