Thread (5 messages) 5 messages, 3 authors, 2021-09-15

Re: [PATCH linux-next] memory:tegra210-emc-core: replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE

From: Dan Carpenter <hidden>
Date: 2021-08-25 10:02:21
Also in: lkml

On Wed, Aug 25, 2021 at 11:45:58AM +0200, Krzysztof Kozlowski wrote:
On 25/08/2021 08:37, CGEL wrote:
quoted
From: Jing Yangyang <redacted>

Fix the following coccicheck warning:
./drivers/memory/tegra/tegra210-emc-core.c:1665:0-23:WARNING
tegra210_emc_debug_min_rate_fops should be defined
 with DEFINE_DEBUGFS_ATTRIBUTE
./drivers/memory/tegra/tegra210-emc-core.c:1726:0-23:WARNING
tegra210_emc_debug_temperature_fops should be defined
 with DEFINE_DEBUGFS_ATTRIBUTE
Thanks for the patch.

One error message is enough. They are the same.
quoted
Reported-by: Zeal Robot <redacted>
Where is the report? We work here in a public, so if there is a report I
assume we can reach it? In case the report does not exist, anyone can
run checkpatch, coccinelle, smatch and sparse, so how does this differs
from me running checkpatch?
Someone asked for these tags when it was Huawei sending patches from
the Hulk Robot so no everyone adds them and Hulk Robot is the #1 bug
reporter.  Hulk Robot just crossed the 2000 tag mark recently.

regards,
dan carpenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help