[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-rdma
Subject:    Re: [PATCH v3 -next] RDMA/srp: use DEVICE_ATTR_*() macro
From:       Jason Gunthorpe <jgg () nvidia ! com>
Date:       2021-05-28 23:42:33
Message-ID: 20210528234233.GC3874396 () nvidia ! com
[Download RAW message or body]

On Fri, May 28, 2021 at 08:57:50PM +0800, YueHaibing wrote:
> Use DEVICE_ATTR_*() helper instead of plain DEVICE_ATTR,
> which makes the code a bit shorter and easier to read.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> v3: rearrange attrs
> v2: convert show_port device attr
> 
>  drivers/infiniband/ulp/srp/ib_srp.c | 109 ++++++++++++++++------------
>  1 file changed, 62 insertions(+), 47 deletions(-)

Applied to for-next, again with clang-format

Thanks,
Jason
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic