Re: [PATCH -next] infiniband: ipoib: convert to use DEFINE_SEQ_ATTRIBUTE macro

2020-09-16 Thread Jason Gunthorpe
On Wed, Sep 16, 2020 at 10:50:22AM +0800, Liu Shixin wrote: > Use DEFINE_SEQ_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Liu Shixin > --- > drivers/infiniband/ulp/ipoib/ipoib_fs.c | 50 ++--- > 1 file changed, 4 insertions(+), 46 deletions(-) Applied to for-next

[PATCH -next] infiniband: ipoib: convert to use DEFINE_SEQ_ATTRIBUTE macro

2020-09-15 Thread Liu Shixin
Use DEFINE_SEQ_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/infiniband/ulp/ipoib/ipoib_fs.c | 50 ++--- 1 file changed, 4 insertions(+), 46 deletions(-) diff --git a/drivers/infiniband/ulp/ipoib/ipoib_fs.c b/drivers/infiniband/ulp/ipoib/ipoib_