aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2018-03-22 20:14:47 +0200
committerDavid S. Miller <[email protected]>2018-03-23 12:59:26 -0400
commit885b0d4375a102d002bc654b4b68da46ba060032 (patch)
tree65ca9ce263add0543cf5a6a6b167a319cccea7d7 /net/unix/sysctl_net_unix.c
parent440ea4ae182820cfced77cee2b7f3e6eaa8ac5d3 (diff)
mlxsw: spectrum_span: Fix initialization of struct mlxsw_sp_span_parms
Since the first element of struct mlxsw_sp_span_parms is a pointer, to zero-initialize this structure the correct notation is not = {0}, but rather = {NULL}, as reported by sparse. Signed-off-by: Petr Machata <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions