Re: [PATCH -next] hsr: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-19 Thread miaoqinglang
在 2020/7/18 3:46, David Miller 写道: From: Qinglang Miao Date: Thu, 16 Jul 2020 16:47:28 +0800 Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao This does not apply to the net-next tree. . Hi David, I'm sorry but​ this patch is based on linux-next rathe

Re: [PATCH -next] hsr: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-17 Thread David Miller
From: Qinglang Miao Date: Thu, 16 Jul 2020 16:47:28 +0800 > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Qinglang Miao This does not apply to the net-next tree.

[PATCH -next] hsr: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Qinglang Miao --- net/hsr/hsr_debugfs.c | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/net/hsr/hsr_debugfs.c b/net/hsr/hsr_debugfs.c index d994c83b0..ed7f53475 100644 --- a/net/hsr/hsr