[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190125.220542.1086169197191987720.davem@davemloft.net>
Date: Fri, 25 Jan 2019 22:05:42 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: yangbo.lu@....com, richardcochran@...il.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] ptp: fix debugfs_simple_attr.cocci warnings
From: YueHaibing <yuehaibing@...wei.com>
Date: Fri, 25 Jan 2019 02:28:59 +0000
> 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>
Applied, thanks.
Powered by blists - more mailing lists