mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andries.Brouwer@cwi.nl
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] silence some superfluous boot messages
Date: Sun, 20 Apr 2003 20:28:17 +0200 (MEST)	[thread overview]
Message-ID: <UTC200304201828.h3KISHp18103.aeb@smtp.cwi.nl> (raw)

I suppose these can be removed altogether.
For now #if 0 ... #endif.

diff -u --recursive --new-file -X /linux/dontdiff a/drivers/block/ll_rw_blk.c b/drivers/block/ll_rw_blk.c
--- a/drivers/block/ll_rw_blk.c	Tue Apr  8 09:36:36 2003
+++ b/drivers/block/ll_rw_blk.c	Sun Apr 20 18:58:38 2003
@@ -1867,7 +1867,7 @@
  * generic_make_request() does not return any status.  The
  * success/failure status of the request, along with notification of
  * completion, is delivered asynchronously through the bio->bi_end_io
- * function described (one day) else where.
+ * function described (one day) elsewhere.
  *
  * The caller of generic_make_request must make sure that bi_io_vec
  * are set to describe the memory buffer, and that bi_dev and bi_sector are
@@ -2204,14 +2204,14 @@
 	batch_requests = queue_nr_requests / 8;
 	if (batch_requests > 8)
 		batch_requests = 8;
-
+#if 0
 	printk("block request queues:\n");
 	printk(" %d requests per read queue\n", queue_nr_requests);
 	printk(" %d requests per write queue\n", queue_nr_requests);
 	printk(" %d requests per batch\n", batch_requests);
 	printk(" enter congestion at %d\n", queue_congestion_on_threshold());
 	printk(" exit congestion at %d\n", queue_congestion_off_threshold());
-
+#endif
 	blk_max_low_pfn = max_low_pfn;
 	blk_max_pfn = max_pfn;
 
diff -u --recursive --new-file -X /linux/dontdiff a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c
--- a/drivers/ide/ide-disk.c	Sun Apr 20 12:59:31 2003
+++ b/drivers/ide/ide-disk.c	Sun Apr 20 18:58:58 2003
@@ -1079,8 +1079,11 @@
 static inline int idedisk_supports_host_protected_area(ide_drive_t *drive)
 {
 	int flag = (drive->id->cfs_enable_1 & 0x0400) ? 1 : 0;
+#if 0
 	if (flag)
-		printk(KERN_INFO "%s: host protected area => %d\n", drive->name, flag);
+		printk(KERN_INFO "%s: host protected area => %d\n",
+		       drive->name, flag);
+#endif
 	return flag;
 }
 
diff -u --recursive --new-file -X /linux/dontdiff a/fs/bio.c b/fs/bio.c
--- a/fs/bio.c	Tue Mar 25 04:54:40 2003
+++ b/fs/bio.c	Sun Apr 20 18:59:16 2003
@@ -743,10 +743,10 @@
 					mempool_free_slab, bp->slab);
 		if (!bp->pool)
 			panic("biovec: can't init mempool\n");
-
+#if 0
 		printk("biovec pool[%d]: %3d bvecs: %3d entries (%d bytes)\n",
-						i, bp->nr_vecs, pool_entries,
-						size);
+		       i, bp->nr_vecs, pool_entries, size);
+#endif
 	}
 }
 

             reply	other threads:[~2003-04-20 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-20 18:28 Andries.Brouwer [this message]
2003-04-20 18:54 ` Jeff Garzik

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=UTC200304201828.h3KISHp18103.aeb@smtp.cwi.nl \
    --to=andries.brouwer@cwi.nl \
    --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

all inboxes | Powered by JetHome®