block: fix kernel-docbook parameters and files
Subsystems (2)
PATCH 1/1 block: fix kernel-docbook parameters and files
From: Randy Dunlap <[email protected]>
kernel-doc for block/:
- add missing parameters
- fix one function's parameter list (remove blank line)
- add 2 source files to docbook for non-exported kernel-doc functions
--- Documentation/DocBook/kernel-api.tmpl | 2 ++ block/blk-core.c | 2 ++ block/blk-settings.c | 1 - 3 files changed, 4 insertions(+), 1 deletion(-)
block/blk-core.c +2 -0
@@ -1767,6 +1767,7 @@ static inline void __end_request(struct/** * blk_rq_bytes - Returns bytes left to complete in the entire request +* @rq: the request being processed **/ unsigned int blk_rq_bytes (struct request *rq) {
@@ -1779,6 +1780,7 @@ EXPORT_SYMBOL_GPL(blk_rq_bytes);/** * blk_rq_cur_bytes - Returns bytes left to complete in the current segment +* @rq: the request being processed **/ unsigned int blk_rq_cur_bytes (struct request *rq) {
block/blk-settings.c +0 -1
@@ -294,7 +294,6 @@ EXPORT_SYMBOL(blk_queue_stack_limits);/** * blk_queue_dma_drain - Set up a drain buffer for excess dma. -* * @q: the request queue for the device * @buf: physically contiguous buffer * @size: size of the buffer in bytes
Documentation/DocBook/kernel-api.tmpl +2 -0
@@ -361,12 +361,14 @@ X!Edrivers/pnp/system.c <chapter id="blkdev"> <title>Block Devices</title> !Eblock/blk-core.c +!Iblock/blk-core.c !Eblock/blk-map.c !Iblock/blk-sysfs.c !Eblock/blk-settings.c !Eblock/blk-exec.c !Eblock/blk-barrier.c !Eblock/blk-tag.c +!Iblock/blk-tag.c </chapter> <chapter id="chrdev">
Quoted 6 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
kernel-doc for
block/:
- add missing parameters
- fix one function's parameter list (remove blank line)
- add 2 source files to docbook for non-exported kernel-doc functions
Care to rediff and resend, it doesn't apply cleanly anymore?
Signature · 1 line
Jens Axboe
PATCH 1/1 block: fix kernel-docbook parameters and files
From: Randy Dunlap <[email protected]>
kernel-doc for block/:
- add missing parameters
- fix one function's parameter list (remove blank line)
- add 2 source files to docbook for non-exported kernel-doc functions
--- Documentation/DocBook/kernel-api.tmpl | 2 ++ block/blk-core.c | 2 ++ block/blk-settings.c | 1 - 3 files changed, 4 insertions(+), 1 deletion(-)
block/blk-core.c +2 -0
@@ -1768,6 +1768,7 @@ static inline void __end_request(struct/** * blk_rq_bytes - Returns bytes left to complete in the entire request +* @rq: the request being processed **/ unsigned int blk_rq_bytes (struct request *rq) {
@@ -1780,6 +1781,7 @@ EXPORT_SYMBOL_GPL(blk_rq_bytes);/** * blk_rq_cur_bytes - Returns bytes left to complete in the current segment +* @rq: the request being processed **/ unsigned int blk_rq_cur_bytes (struct request *rq) {
block/blk-settings.c +0 -1
@@ -294,7 +294,6 @@ EXPORT_SYMBOL(blk_queue_stack_limits);/** * blk_queue_dma_drain - Set up a drain buffer for excess dma. -* * @q: the request queue for the device * @dma_drain_needed: fn which returns non-zero if drain is necessary * @buf: physically contiguous buffer
Documentation/DocBook/kernel-api.tmpl +2 -0
@@ -361,12 +361,14 @@ X!Edrivers/pnp/system.c <chapter id="blkdev"> <title>Block Devices</title> !Eblock/blk-core.c +!Iblock/blk-core.c !Eblock/blk-map.c !Iblock/blk-sysfs.c !Eblock/blk-settings.c !Eblock/blk-exec.c !Eblock/blk-barrier.c !Eblock/blk-tag.c +!Iblock/blk-tag.c </chapter> <chapter id="chrdev">
Quoted 6 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
kernel-doc for
block/:
- add missing parameters
- fix one function's parameter list (remove blank line)
- add 2 source files to docbook for non-exported kernel-doc functions
Thanks Randy, applied.
Signature · 1 line
Jens Axboe