[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <43MLSt1FF1z9sPV@ozlabs.org>
Date: Sat, 22 Dec 2018 20:54:53 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: YueHaibing <yuehaibing@...wei.com>,
Russell Currey <ruscur@...sell.cc>,
Sam Bobroff <sbobroff@...ux.ibm.com>,
Oliver O'Halloran <oohall@...il.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>
Cc: linuxppc-dev@...ts.ozlabs.org, kernel-janitors@...r.kernel.org,
YueHaibing <yuehaibing@...wei.com>, linux-kernel@...r.kernel.org
Subject: Re: [-next] powerpc/eeh: Fix debugfs_simple_attr.cocci warnings
On Thu, 2018-12-20 at 02:42:51 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>
> Acked-by: Russell Currey <ruscur@...sell.cc>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/8c6c942d33f2a79439e86f8f406afa
cheers
Powered by blists - more mailing lists