Skip to contentSkip to conversation

printk : arch/arm/common/sa1111.c

PATCH New Christophe Lucas 1 participant 1 message Jan 9, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 printk : arch/arm/common/sa1111.c

Description:
printk should include appropriate KERN_* constant (of course only at beginning of lines).

arch/arm/common/sa1111.c +2 -2
Index: linux-2.6.15/arch/arm/common/sa1111.c
===================================================================
@@ -580,7 +580,7 @@
 
 	ret = request_resource(parent, &dev->res);
 	if (ret) {
-		printk("SA1111: failed to allocate resource for %s\n",
+		printk(KERN_WARNING "SA1111: failed to allocate resource for %s\n",
 			dev->res.name);
 		kfree(dev);
 		goto out;
@@ -605,7 +605,7 @@
 		if (dev->dma_mask != 0xffffffffUL) {
 			ret = dmabounce_register_dev(&dev->dev, 1024, 4096);
 			if (ret) {
-				printk("SA1111: Failed to register %s with dmabounce", dev->dev.bus_id);
+				printk(KERN_WARNING "SA1111: Failed to register %s with dmabounce", dev->dev.bus_id);
 				device_unregister(&dev->dev);
 			}
 		}

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors