# Re: \[PATCH\] mips: cavium: Replace DEFINE\_SIMPLE\_ATTRIBUTE with DEFINE\_DEBUGFS\_ATTRIBUTE

- From: Thomas Bogendoerfer \<tsbogend@alpha.franken.de\>
- Date: 2021-03-01 15:06:13 
- List: linux-mips
- Page: https://ratatoskr.run/linux-mips/2021/03/6281660
- Thread: https://ratatoskr.run/linux-mips/2021/02/6277447/t.md

```text
On Wed, Feb 24, 2021 at 04:10:06PM +0800, Yang Li wrote:
> Fix the following coccicheck warning:
> ./arch/mips/cavium-octeon/oct_ilm.c:65:0-23: WARNING:
> reset_statistics_ops should be defined with DEFINE_DEBUGFS_ATTRIBUTE
> 
> Reported-by: Abaci Robot <redacted>
> Signed-off-by: Yang Li <redacted>
> ---
>  arch/mips/cavium-octeon/oct_ilm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
```
