lkml.org 
[lkml]   [2017]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] xen/mce: don't issue error message for failed /dev/mcelog registration
On Tue, Jun 13, 2017 at 03:14:53PM +0200, Juergen Gross wrote:
> I'd rather avoid the pr_err() in the -EBUSY case. What about:
>
> if (err) {
> if (err == -EBUSY)
> pr_info("Unable to init device /dev/mcelog, already registered");
> else
> pr_err("Unable to init device /dev/mcelog (rc: %d)\n", err);
> }

Sure.

Thanks.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.

\
 
 \ /
  Last update: 2017-06-13 15:18    [W:0.335 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site