public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] floppy: revert floppy disable halt warning
@ 2012-03-11 16:38 Stephen Hemminger
  2012-03-27 23:26 ` Andrew Morton
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Hemminger @ 2012-03-11 16:38 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-kernel

Remove the stupid floppy disable halt warning. It is meaningless since
the API is local to floppy driver.  Our boot scripts check for the
floppy drive, and this causes the warning to trigger every time. This
confuses support, breaks automated tests that look for backtraces on
boot,  and adds no value.  

The message is being displayed to the wrong audience, it looks like it
was intended as a compromise of a long discussion on LKML about
supporting older x86 hardware; but users don't know or understand what
it is saying.

If you want to change halt handling then just fix
the floppy driver, don't whine about it.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

--- a/drivers/block/floppy.c	2012-03-11 09:27:52.866459327 -0700
+++ b/drivers/block/floppy.c	2012-03-11 09:28:29.286579201 -0700
@@ -1037,7 +1037,6 @@ static void floppy_disable_hlt(void)
 {
 	unsigned long flags;
 
-	WARN_ONCE(1, "floppy_disable_hlt() scheduled for removal in 2012");
 	spin_lock_irqsave(&floppy_hlt_lock, flags);
 	if (!hlt_disabled) {
 		hlt_disabled = 1;

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

end of thread, other threads:[~2012-03-28 10:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-11 16:38 [PATCH] floppy: revert floppy disable halt warning Stephen Hemminger
2012-03-27 23:26 ` Andrew Morton
2012-03-28  0:24   ` Josh Boyer
2012-03-28  6:40     ` Ingo Molnar
2012-03-28  7:20       ` H. Peter Anvin
2012-03-28  7:34         ` Ingo Molnar
2012-03-28 10:46         ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox