From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762428AbYBRVGx (ORCPT ); Mon, 18 Feb 2008 16:06:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762635AbYBRVFA (ORCPT ); Mon, 18 Feb 2008 16:05:00 -0500 Received: from agminet01.oracle.com ([141.146.126.228]:64864 "EHLO agminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762626AbYBRVE7 (ORCPT ); Mon, 18 Feb 2008 16:04:59 -0500 Date: Mon, 18 Feb 2008 13:04:45 -0800 From: Randy Dunlap To: lkml Cc: axboe@kernel.dk Subject: [PATCH] block: fix kernel-docbook parameters and files Message-Id: <20080218130445.f5f5a205.randy.dunlap@oracle.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.4.7 (GTK+ 2.8.10; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap 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 Signed-off-by: Randy Dunlap --- Documentation/DocBook/kernel-api.tmpl | 2 ++ block/blk-core.c | 2 ++ block/blk-settings.c | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) --- linux-2.6.25-rc1-git4.orig/block/blk-core.c +++ linux-2.6.25-rc1-git4/block/blk-core.c @@ -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) { --- linux-2.6.25-rc1-git4.orig/block/blk-settings.c +++ linux-2.6.25-rc1-git4/block/blk-settings.c @@ -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 --- linux-2.6.25-rc1-git4.orig/Documentation/DocBook/kernel-api.tmpl +++ linux-2.6.25-rc1-git4/Documentation/DocBook/kernel-api.tmpl @@ -361,12 +361,14 @@ X!Edrivers/pnp/system.c Block Devices !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