From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: [PATCH] wil6210: fix debugfs_simple_attr.cocci warnings Date: Sat, 13 Oct 2018 17:29:12 +0000 (UTC) Message-ID: <20181013172912.2923960116@smtp.codeaurora.org> References: <1538737646-118337-1-git-send-email-yuehaibing@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: Maya Erez , YueHaibing , , , , To: YueHaibing Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:49368 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726559AbeJNBHM (ORCPT ); Sat, 13 Oct 2018 21:07:12 -0400 In-Reply-To: <1538737646-118337-1-git-send-email-yuehaibing@huawei.com> Sender: netdev-owner@vger.kernel.org List-ID: YueHaibing 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 > Signed-off-by: Kalle Valo 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