printk :
Subsystems (5)
PATCH 1/1 printk :
description:printk() calls should include appropriate KERN_* constant.
Signed-off-by Christophe Lucas <[email protected]>
drivers/char/ftape/compressor/zftape-compress.c +2 -2
@@ -1176,8 +1176,8 @@ KERN_INFO "Compressor for zftape (lzrw3 }#else /* !MODULE */ /* print a short no-nonsense boot message */ -printk ("zftape compressor v1.00a 970514\n" ); -printk ("For use with " FTAPE_VERSION "\n" ); +printk (KERN_INFO "zftape compressor v1.00a 970514\n" ); +printk (KERN_INFO "For use with " FTAPE_VERSION "\n" );#endif /* MODULE */ TRACE (ft_t_info,"zft_compressor_init @ 0x%p" , zft_compressor_init);TRACE (ft_t_info,"installing compressor for zftape ..." );
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
PATCH 1/1 printk :
Description:printk() calls should include appropriate KERN_* constant.
Signed-off-by Christophe Lucas <[email protected]>
drivers/block/paride/epia.c +2 -2
@@ -263,7 +263,7 @@ static int epia_test_proto( PIA *pi, chaepia_disconnect (pi);if (verbose) { -printk ("%s: epia: port 0x%x, mode %d, test=(%d,%d,%d)\n" , +printk (KERN_DEBUG "%s: epia: port 0x%x, mode %d, test=(%d,%d,%d)\n" , pi->device,pi->port,pi->mode,e[0 ],e[1 ],f); }
@@ -277,7 +277,7 @@ static void epia_log_adapter( PIA *pi, c {char *mode_string[6 ] = {"4-bit" ,"5/3" ,"8-bit" ,"EPP-8" ,"EPP-16" ,"EPP-32" }; -printk ("%s: epia %s, Shuttle EPIA at 0x%x, " , +printk (KERN_INFO "%s: epia %s, Shuttle EPIA at 0x%x, " , pi->device,EPIA_VERSION ,pi->port);printk ("mode %d (%s), delay %d\n" ,pi->mode, mode_string[pi->mode],pi->delay);
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
PATCH 1/1 printk :
In reply to Christophe LucasDescription:printk() calls should include appropriate KERN_* constant.
Signed-off-by Christophe Lucas <[email protected]>
Documentation/firmware_class/firmware_sample_driver.c +4 -4
@@ -32,14 +32,14 @@ static void sample_firmware_load(char *fu8 buf[size+1 ];memcpy (buf, firmware, size); buf[size] ='\0' ; -printk ("firmware_sample_driver: firmware: %s\n" , buf); +printk (KERN_INFO "firmware_sample_driver: firmware: %s\n" , buf); }static void sample_probe_default (void ) {/* uses the default method to get the firmware */ const struct firmware *fw_entry; -printk ("firmware_sample_driver: a ghost device got inserted :)\n" ); +printk (KERN_INFO "firmware_sample_driver: a ghost device got inserted :)\n" );if (request_firmware (&fw_entry,"sample_driver_fw" , &ghost_device)!=0 ) {
@@ -61,7 +61,7 @@ static void sample_probe_specific(void)/* NOTE: This currently doesn't work */ -printk ("firmware_sample_driver: a ghost device got inserted :)\n" ); +printk (KERN_INFO "firmware_sample_driver: a ghost device got inserted :)\n" );if (request_firmware (NULL ,"sample_driver_fw" , &ghost_device)!=0 ) {
@@ -83,7 +83,7 @@ static void sample_probe_async_cont(consreturn ; } -printk ("firmware_sample_driver: device pointer \"%s\"\n" , +printk (KERN_INFO "firmware_sample_driver: device pointer \"%s\"\n" , (char *)context);sample_firmware_load (fw->data, fw->size); }
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors