[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <35e23690-a907-4606-a484-e3e342a14e7c@web.de>
Date: Fri, 15 Aug 2025 16:40:10 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Akhilesh Patil <akhilesh@...iitb.ac.in>
Cc: akhileshpatilvnit@...il.com, LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org, Dave Jiang <dave.jiang@...el.com>,
Itay Avraham <itayavr@...dia.com>, Jason Gunthorpe <jgg@...pe.ca>,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
Saeed Mahameed <saeedm@...dia.com>, Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH] fwctl: mlx5: fix memory alloc/free in mlx5ctl_fw_rpc()
> Use kvfree() to free memory allocated by kvzalloc() instead of kfree().
> Avoid potential memory management issue by matching alloc/free routines.
Will another bit of background information become helpful
for an improved change description?
Test command example:
Markus_Elfring@...ne:…/Projekte/Linux/next-analyses> /usr/bin/spatch -D report scripts/coccinelle/api/kfree_mismatch.cocci drivers/fwctl/mlx5/main.c
…
Regards,
Markus
Powered by blists - more mailing lists