在 2020/7/18 3:46, David Miller 写道:
From: Qinglang Miao <miaoqingl...@huawei.com>
Date: Thu, 16 Jul 2020 16:47:28 +0800

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Qinglang Miao <miaoqingl...@huawei.com>

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

.

Reply via email to