Re: [PATCH] char: misc: use pr_err instead of printk

2014-10-14 Thread Rahul Bedarkar
On Sun, Oct 12, 2014 at 12:05 AM, Joe Perches wrote: > On Sun, 2014-10-12 at 00:01 +0530, Rahul Bedarkar wrote: > [] >> diff --git a/drivers/char/misc.c b/drivers/char/misc.c > [] >> @@ -280,12 +280,12 @@ static int __init misc_init(void) >> >> err = -EIO; >> if (register_chrdev(MISC_M

Re: [PATCH] char: misc: use pr_err instead of printk

2014-10-11 Thread Joe Perches
On Sun, 2014-10-12 at 00:01 +0530, Rahul Bedarkar wrote: [] > diff --git a/drivers/char/misc.c b/drivers/char/misc.c [] > @@ -280,12 +280,12 @@ static int __init misc_init(void) > > err = -EIO; > if (register_chrdev(MISC_MAJOR,"misc",&misc_fops)) > - goto fail_printk; > +