macsec_linux: Use NULL to clear a pointer
Avoid a sparse warning from use of a plain integer. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
ff7f339cff
commit
b82fcf06f2
1 changed files with 1 additions and 1 deletions
|
@ -639,7 +639,7 @@ static int do_dump(struct macsec_drv_data *drv, u8 txsa, u64 rxsci, u8 rxsa,
|
|||
DRV_PREFIX "failed to communicate: %d (%s)",
|
||||
ret, nl_geterror(-ret));
|
||||
|
||||
ctx->cb_arg.pn = 0;
|
||||
ctx->cb_arg.pn = NULL;
|
||||
|
||||
out_free_msg:
|
||||
nlmsg_free(msg);
|
||||
|
|
Loading…
Reference in a new issue