[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <169100060344.669727.8392314523199758602.kvalo@kernel.org>
Date: Wed, 2 Aug 2023 18:23:25 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Atul Raut <rauji.raut@...il.com>
Cc: linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org
Subject: Re: [PATCH] ath6kl: Fix debugfs_create_dir error checking
Atul Raut <rauji.raut@...il.com> wrote:
> The debugfs_create_dir function returns ERR_PTR
> in case of error and the correct way to check an
> error is 'IS_ERR' inline function.
> This patch will replace the null-comparison with IS_ERR
>
> This issue was found with the help of Coccinelle.
> ./drivers/net/wireless/ath/ath6kl/debug.c:1796:6-21: Wrong debugfs call error processing on line 1796
>
> Signed-off-by: Atul Raut <rauji.raut@...il.com>
This has been already fixed:
https://git.kernel.org/kvalo/ath/c/1301783c8def
Patch set to Rejected.
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230731024542.27248-1-rauji.raut@gmail.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists