1394: warn if machine is going to crash

From: Pavel Machek
Date: Mon Apr 05 2004 - 16:44:54 EST


Hi!

...and it *is* going to crash if unregistering ioctl32 handler
fails. Please apply,
Pavel

Index: linux/drivers/ieee1394/video1394.c
===================================================================
--- linux.orig/drivers/ieee1394/video1394.c 2004-04-05 22:47:34.000000000 +0200
+++ linux/drivers/ieee1394/video1394.c 2004-04-05 16:50:21.000000000 +0200
@@ -1438,7 +1438,7 @@
ret |= unregister_ioctl32_conversion(VIDEO1394_IOC32_TALK_WAIT_BUFFER);
ret |= unregister_ioctl32_conversion(VIDEO1394_IOC32_LISTEN_POLL_BUFFER);
if (ret)
- PRINT_G(KERN_INFO, "Error unregistering ioctl32 translations");
+ PRINT_G(KERN_CRIT, "Error unregistering ioctl32 translations");
#endif

hpsb_unregister_protocol(&video1394_driver);

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/