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

2020-09-18 Thread miaoqinglang
在 2020/7/17 10:16, Jens Axboe 写道: On 7/16/20 7:37 PM, miaoqinglang wrote: 在 2020/7/16 23:45, Jens Axboe 写道: On 7/16/20 3:04 AM, Qinglang Miao wrote: From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. None of these apply against the 5.9 block tree, looks like some rea

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

2020-07-16 Thread miaoqinglang
在 2020/7/17 10:16, Jens Axboe 写道: On 7/16/20 7:37 PM, miaoqinglang wrote: 在 2020/7/16 23:45, Jens Axboe 写道: On 7/16/20 3:04 AM, Qinglang Miao wrote: From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. None of these apply against the 5.9 block tree, looks like some rea

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

2020-07-16 Thread Jens Axboe
On 7/16/20 7:37 PM, miaoqinglang wrote: > > 在 2020/7/16 23:45, Jens Axboe 写道: >> On 7/16/20 3:04 AM, Qinglang Miao wrote: >>> From: Liu Shixin >>> >>> Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. >> None of these apply against the 5.9 block tree, looks like some >> read -> read_iter conv

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

2020-07-16 Thread miaoqinglang
在 2020/7/16 23:45, Jens Axboe 写道: On 7/16/20 3:04 AM, Qinglang Miao wrote: From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. None of these apply against the 5.9 block tree, looks like some read -> read_iter conversion has happened in another branch that I'm not privy to

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

2020-07-16 Thread Jens Axboe
On 7/16/20 3:04 AM, Qinglang Miao wrote: > From: Liu Shixin > > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. None of these apply against the 5.9 block tree, looks like some read -> read_iter conversion has happened in another branch that I'm not privy to. -- Jens Axboe

[PATCH -next] rsxx: Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Liu Shixin Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- drivers/block/rsxx/core.c | 31 --- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/drivers/block/rsxx/core.c b/drivers/block/rsxx/core.c index e63174