[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181013172912.2923960116@smtp.codeaurora.org>
Date: Sat, 13 Oct 2018 17:29:12 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Maya Erez <merez@...eaurora.org>,
YueHaibing <yuehaibing@...wei.com>,
<linux-wireless@...r.kernel.org>, <wil6210@....qualcomm.com>,
<kernel-janitors@...r.kernel.org>, <netdev@...r.kernel.org>
Subject: Re: [PATCH] wil6210: fix debugfs_simple_attr.cocci warnings
YueHaibing <yuehaibing@...wei.com> wrote:
> Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE
> for debugfs files.
>
> Semantic patch information:
> Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file()
> imposes some significant overhead as compared to
> DEFINE_DEBUGFS_ATTRIBUTE + debugfs_create_file_unsafe().
>
> Generated by: scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> Signed-off-by: Kalle Valo <kvalo@...eaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
f9dca154a4e4 wil6210: fix debugfs_simple_attr.cocci warnings
--
https://patchwork.kernel.org/patch/10627883/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists