Skip to content
Commit 230cfd2d authored by Josh Hunt's avatar Josh Hunt Committed by David S. Miller
Browse files

net/sched: fix pointer check in gen_handle

Fixes sparse warning about pointer in gen_handle:
net/sched/cls_rsvp.h:392:40: warning: Using plain integer as NULL pointer

Fixes: 8113c095

 ("net_sched: use void pointer for filter handle")
Signed-off-by: default avatarJosh Hunt <johunt@akamai.com>
Acked-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 33e34e73
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment