pr_info everywhere

This commit is contained in:
Ciro Santilli
2017-07-14 11:30:16 +01:00
parent 1918c4fdfe
commit 0f1fbaf026
8 changed files with 11 additions and 11 deletions

View File

@@ -15,14 +15,14 @@ The alternative is to get the serial data out streamed to console or to a file:
static int myinit(void)
{
printk(KERN_INFO "panic init\n");
pr_info("panic init\n");
panic("hello panic");
return 0;
}
static void myexit(void)
{
printk(KERN_INFO "panic cleanup\n");
pr_info("panic cleanup\n");
}
module_init(myinit)