linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jani Monoses <jani@virtualro.ic.ro>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [patch] docbook fix in /drivers/block/ll_rw_blk.c
Date: Fri, 1 Dec 2000 14:56:57 +0200 (EET)	[thread overview]
Message-ID: <Pine.LNX.4.10.10012011448190.12870-100000@virtualro.ic.ro> (raw)


Hi Linus,

 there is a warning in make docs and there is no documentation generated
for blk_init_queue because of another function declaration between the
comments and the definition .

This patch moves the declaration before the comments.

please apply . 


--- /usr/src/clean/linux-2.4/drivers/block/ll_rw_blk.c	Thu Nov 30 18:13:46 2000
+++ ll_rw_blk.c	Fri Dec  1 14:23:50 2000
@@ -383,6 +383,8 @@
 	spin_lock_init(&q->request_lock);
 }
 
+static int __make_request(request_queue_t * q, int rw, struct buffer_head * bh);
+
 /**
  * blk_init_queue  - prepare a request queue for use with a block device
  * @q:    The &request_queue_t to be initialised
@@ -416,7 +418,6 @@
  *    blk_init_queue() must be paired with a blk_cleanup-queue() call
  *    when the block device is deactivated (such as at module unload).
  **/
-static int __make_request(request_queue_t * q, int rw,  struct buffer_head * bh);
 void blk_init_queue(request_queue_t * q, request_fn_proc * rfn)
 {
 	INIT_LIST_HEAD(&q->queue_head);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

                 reply	other threads:[~2000-12-01 13:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.10.10012011448190.12870-100000@virtualro.ic.ro \
    --to=jani@virtualro.ic.ro \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).