[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <5F62B3BB-4288-42A6-8BD6-6E39EEAB7C58@holtmann.org>
Date: Fri, 11 Aug 2017 21:20:26 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Colin King <colin.king@...onical.com>
Cc: "Gustavo F. Padovan" <gustavo@...ovan.org>,
Johan Hedberg <johan.hedberg@...il.com>,
"David S. Miller" <davem@...emloft.net>,
"open list:BLUETOOTH DRIVERS" <linux-bluetooth@...r.kernel.org>,
Netdev list <netdev@...r.kernel.org>,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] Bluetooth: kfree tmp rather than an alias to it
Hi Colin,
> While the kfree of dhkey_a is of the same address of tmp, it
> probably is clearer and more human readable if tmp is kfree'd
> rather than dhkey_a.
>
> Detected by CoverityScan, CID#1448650 ("Free of address-of expression")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> net/bluetooth/selftest.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists