Re: [PATCH] memory: tegra186-emc: Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE

From: Krzysztof Kozlowski
Date: Mon Feb 01 2021 - 02:39:23 EST


On Mon, Feb 01, 2021 at 03:00:40PM +0800, Jiapeng Chong wrote:
> Fix the following coccicheck warning:
>
> ./drivers/memory/tegra/tegra186-emc.c:158:0-23: WARNING:
> tegra186_emc_debug_max_rate_fops should be defined with
> DEFINE_DEBUGFS_ATTRIBUTE.
>
> ./drivers/memory/tegra/tegra186-emc.c:128:0-23: WARNING:
> tegra186_emc_debug_min_rate_fops should be defined with
> DEFINE_DEBUGFS_ATTRIBUTE.

Please strip unrelated parts of the paths (./).

>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>

Where could I find the report? I did not get anything on my mail.

Best regards,
Krzysztof


> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
> ---
> drivers/memory/tegra/tegra186-emc.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)