Skip to contentSkip to conversation

1394: warn if machine is going to crash

PATCH Pavel Machek 1 participant 1 message Apr 5, 2004

lore
Share & tools
lore
#0 lore raw

Hi!

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

drivers/ieee1394/video1394.c +1 -1
Index: linux/drivers/ieee1394/video1394.c
===================================================================
@@ -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);
Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]