[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <47DFyT6f97z9sSW@ozlabs.org>
Date: Thu, 14 Nov 2019 20:08:33 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: YueHaibing <yuehaibing@...wei.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Mike Rapoport <rppt@...ux.vnet.ibm.com>,
Alastair D'Silva <alastair@...ilva.org>,
"Frederic Barrat" <fbarrat@...ux.vnet.ibm.com>,
Alexey Kardashevskiy <aik@...abs.ru>,
David Gibson <david@...son.dropbear.id.au>,
Andrew Donnellan <andrew.donnellan@....ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: linuxppc-dev@...ts.ozlabs.org, kernel-janitors@...r.kernel.org,
YueHaibing <yuehaibing@...wei.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] powerpc/powernv/npu: Fix debugfs_simple_attr.cocci warnings
On Tue, 2018-12-25 at 02:44:36 UTC, 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 <yuehaibing@...wei.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/bfa2325e5b8b800cc6720cad8d2f066cd0136bee
cheers
Powered by blists - more mailing lists