Re: [PATCH] xdp_rxq_info_user: Replace malloc/memset w/calloc

From: Jesper Dangaard Brouer
Date: Fri Jun 12 2020 - 02:43:04 EST


On Thu, 11 Jun 2020 20:36:40 -0400
Gaurav Singh <gaurav1086@xxxxxxxxx> wrote:

> Replace malloc/memset with calloc
>
> Fixes: 0fca931a6f21 ("samples/bpf: program demonstrating access to xdp_rxq_info")
> Signed-off-by: Gaurav Singh <gaurav1086@xxxxxxxxx>

Above is the correct use of Fixes + Signed-off-by.

Now you need to update/improve the description, to also
mention/describe that this also solves the bug you found.

--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer