* [Cocci] RDMA/hns: Checking two kfree() calls in hns_roce_v1_release_lp_qp()
@ 2019-11-08 15:40 Markus Elfring
0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2019-11-08 15:40 UTC (permalink / raw)
To: linux-rdma, kernel-janitors, Coccinelle, Dennis Dalessandro,
Doug Ledford, Gal Pressman, Jason Gunthorpe, Leon Romanovsky,
Lijun Ou, Wei Hu
Cc: LKML
Hello,
A coccicheck run provided information like the following.
./drivers/infiniband/hw/hns/hns_roce_hw_v1.c:901:1-6: ERROR: invalid free of structure field
./drivers/infiniband/hw/hns/hns_roce_hw_v1.c:903:1-6: ERROR: invalid free of structure field
Generated by: scripts/coccinelle/free/kfreeaddr.cocci
See also:
* Commit e39afe3d6dbd908d8fd189571a3c1561088a86c2
("RDMA: Convert CQ allocations to be under core responsibility" from 2019-06-11)
* Commit 619122be3d40c835eb5fad9e326780909926495d
("RDMA/hns: Fix PD memory leak for internal allocation" from 2019-05-21)
How would you like to handle such details further?
Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
^ permalink raw reply [flat|nested] only message in thread
only message in thread, back to index
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08 15:40 [Cocci] RDMA/hns: Checking two kfree() calls in hns_roce_v1_release_lp_qp() Markus Elfring
Coccinelle archive on lore.kernel.org
Archives are clonable:
git clone --mirror https://lore.kernel.org/cocci/0 cocci/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 cocci cocci/ https://lore.kernel.org/cocci \
cocci@systeme.lip6.fr
public-inbox-index cocci
Example config snippet for mirrors
Newsgroup available over NNTP:
nntp://nntp.lore.kernel.org/fr.lip6.systeme.cocci
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git