[PATCH 08/14] block: add helper macros for queue sysfs entries

2020-07-26 Thread Christoph Hellwig
Add two helpers macros to avoid boilerplate code for the queue sysfs entries. Signed-off-by: Christoph Hellwig Reviewed-by: Johannes Thumshirn --- block/blk-sysfs.c | 248 +++--- 1 file changed, 58 insertions(+), 190 deletions(-) diff --git a/block/blk-s

[PATCH 08/14] block: add helper macros for queue sysfs entries

2020-07-24 Thread Christoph Hellwig
Add two helpers macros to avoid boilerplate code for the queue sysfs entries. Signed-off-by: Christoph Hellwig Reviewed-by: Johannes Thumshirn --- block/blk-sysfs.c | 248 +++--- 1 file changed, 58 insertions(+), 190 deletions(-) diff --git a/block/blk-s

Re: [PATCH 08/14] block: add helper macros for queue sysfs entries

2020-07-22 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

[PATCH 08/14] block: add helper macros for queue sysfs entries

2020-07-21 Thread Christoph Hellwig
Add two helpers macros to avoid boilerplate code for the queue sysfs entries. Signed-off-by: Christoph Hellwig --- block/blk-sysfs.c | 248 +++--- 1 file changed, 58 insertions(+), 190 deletions(-) diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c index

[PATCH 08/14] block: add helper macros for queue sysfs entries

2020-07-20 Thread Christoph Hellwig
Add two helpers macros to avoid boilerplate code for the queue sysfs entries. Signed-off-by: Christoph Hellwig --- block/blk-sysfs.c | 236 +++--- 1 file changed, 56 insertions(+), 180 deletions(-) diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c index