| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-ID: <1269318256.3552.49.camel@calx> Date: Mon, 22 Mar 2010 23:24:16 -0500 From: Matt Mackall <mpm@...enic.com> To: Cong Wang <amwang@...hat.com> Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org, elendil@...net.nl, David Miller <davem@...emloft.net> Subject: Re: [Patch v2] netpoll: warn when there are spaces in parameters On Tue, 2010-03-23 at 09:44 +0800, Cong Wang wrote: > Matt Mackall wrote: > > On Mon, 2010-03-22 at 04:59 -0400, Amerigo Wang wrote: > >> + printk(KERN_INFO "%s: warning: whitespace" > >> + "is not allowed\n", np->name); > > > > Is it a warning or is it info? If it's a warning, then we probably need > > to add "netpoll" or whatever to the message so that people who've got a > > warning-level threshold will know what it's about. > > > > If you mean KERN_INFO, yeah, I want to keep it in the same level > as other messages around. I should probably be more direct: I think that's the wrong thing to do. It IS a warning (it even says so!) telling users that something probably won't work and why and they might miss it if the severity is INFO and then come and ask us why things aren't working. So use KERN_WARN, please. The other messages are INFO because when things are working, they're not interesting. > Also, I already put "np->name" which will be "netconsole" when > we use netconsole. Ahh, right, I have a brain cell somewhere that knew that. -- http://selenic.com : development and support for Mercurial and Linux -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists