Re: [PATCH -next] hsr: Convert to DEFINE_SHOW_ATTRIBUTE
From: miaoqinglang
Date: Sun Jul 19 2020 - 21:06:46 EST
å 2020/7/18 3:46, David Miller åé:
From: Qinglang Miao <miaoqinglang@xxxxxxxxxx>
Date: Thu, 16 Jul 2020 16:47:28 +0800
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.
Signed-off-by: Qinglang Miao <miaoqinglang@xxxxxxxxxx>
This does not apply to the net-next tree.
.
Hi David,
I'm sorry butâ this patch is based on linux-next rather than net-next.
âThere's a little diffrence because commit <4d4901c6d7> in Linux-next
has switched over direct seq_read method calls to seq_read_iter should
applied.(linkage listed as below).
https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next/+/4d4901c6d748efab8aab6e7d2405dadaed0bea50
âI will send a new patch based on net-next tree if you don't mind.
Thanks.
Qinglang
.