diff options
author | Dan Carpenter <[email protected]> | 2020-03-20 16:26:41 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-03-24 19:47:55 -0300 |
commit | a766fa84738f52f8227eb96aed4362725a82ccf2 (patch) | |
tree | 2d7f80b0d110d391fb3bf9c29452ee5e841d0ace /scripts/bpf_helpers_doc.py | |
parent | 5fb5186383bba84937887d73eb2f7ab8819e7a3e (diff) |
IB/mlx5: Fix a NULL vs IS_ERR() check
The kzalloc() function returns NULL, not error pointers.
Fixes: 30f2fe40c72b ("IB/mlx5: Introduce UAPIs to manage packet pacing")
Link: https://lore.kernel.org/r/20200320132641.GF95012@mwanda
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions