net/sched: fix pointer check in gen_handle
authorJosh Hunt <johunt@akamai.com>
Sun, 10 Sep 2017 19:48:50 +0000 (15:48 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Sep 2017 21:34:52 +0000 (14:34 -0700)
commit230cfd2dbc228a6992287d31c5d93bc6c2552024
tree953d1166a34698b59bb41047e4f857aed182aa79
parent33e34e735fd4227b49735f1fc059dc9646abd1c6
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: 8113c095672f6 ("net_sched: use void pointer for filter handle")
Signed-off-by: Josh Hunt <johunt@akamai.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_rsvp.h