[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5c6d28154036475882466a4420c0d499@intel.com>
Date: Wed, 20 Oct 2021 15:18:35 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: Smita Koralahalli <Smita.KoralahalliChannabasappa@....com>,
"x86@...nel.org" <x86@...nel.org>,
"linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "H . Peter Anvin" <hpa@...or.com>,
"yazen.ghannam@....com" <yazen.ghannam@....com>
Subject: RE: [PATCH v2 5/5] x86/mce/mce-inject: Return error code to userspace
from mce-inject module
+ if (!cpu_online(cpu)) {
+ pr_err("No online CPUs available for error injection\n");
+ mce_err.err = -ENODEV;
Maybe "Chosen CPU is not online\n"?
-Tony
Powered by blists - more mailing lists