mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* make lkconfig quiet
@ 2004-04-28 20:59 Pavel Machek
  2004-04-28 21:37 ` Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2004-04-28 20:59 UTC (permalink / raw)
  To: rddunlap, kernel list, Rusty trivial patch monkey Russell

Hi!

Ammount of boot messages on my machine is now so big that important
info (like what went wrong with mouse) scroll away. Oops. This kills
some offenders. Please apply,
								Pavel

--- clean/kernel/configs.c	2003-09-28 22:06:44.000000000 +0200
+++ linux/kernel/configs.c	2004-04-28 22:56:49.000000000 +0200
@@ -77,8 +77,10 @@
 {
 	struct proc_dir_entry *entry;
 
+#ifdef MODULE
 	printk(KERN_INFO "ikconfig %s with /proc/config*\n",
 	       IKCONFIG_VERSION);
+#endif
 
 	/* create the current config file */
 	entry = create_proc_entry("config.gz", S_IFREG | S_IRUGO,

-- 
934a471f20d6580d5aad759bf0d97ddc

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: make lkconfig quiet
  2004-04-28 20:59 make lkconfig quiet Pavel Machek
@ 2004-04-28 21:37 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2004-04-28 21:37 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel, trivial

On Wed, 28 Apr 2004 22:59:00 +0200 Pavel Machek wrote:

| Ammount of boot messages on my machine is now so big that important
| info (like what went wrong with mouse) scroll away. Oops. This kills
| some offenders. Please apply,
| 								Pavel
| 
| --- clean/kernel/configs.c	2003-09-28 22:06:44.000000000 +0200
| +++ linux/kernel/configs.c	2004-04-28 22:56:49.000000000 +0200
| @@ -77,8 +77,10 @@
|  {
|  	struct proc_dir_entry *entry;
|  
| +#ifdef MODULE
|  	printk(KERN_INFO "ikconfig %s with /proc/config*\n",
|  	       IKCONFIG_VERSION);
| +#endif
|  
|  	/* create the current config file */
|  	entry = create_proc_entry("config.gz", S_IFREG | S_IRUGO,


Where do you see MODULE in this config option?

config IKCONFIG
        bool "Kernel .config support"


Killing 1-liners is a slow way to accomplish what you want, IMO.
Go after the big ones.  :)

--
~Randy
(Again.  Sometimes I think ln -s /usr/src/linux/.config .signature) -- akpm

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-28 21:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-28 20:59 make lkconfig quiet Pavel Machek
2004-04-28 21:37 ` Randy.Dunlap

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®