lkml.org 
[lkml]   [2013]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] x86, amd, mce: Prevent potential cpu-online oops
Date
+		if (WARN_ON_ONCE(!nb))
+ goto out;
+

WARN_ON_ONCE() will drop a stack trace to the console - is that going to be useful?

If you want a message perhaps:

if (!nb) {
printk_once("something interesting about not having access to north bridge\n")
goto out;
}

-Tony


\
 
 \ /
  Last update: 2013-04-04 19:01    [W:0.047 / U:3.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site