[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SJ1PR11MB6083DD6F7420EFB8590A1767FCC82@SJ1PR11MB6083.namprd11.prod.outlook.com>
Date: Thu, 20 Jun 2024 18:08:09 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
CC: Borislav Petkov <bp@...en8.de>, James Morse <james.morse@....com>,
Jonathan Cameron <Jonathan.Cameron@...wei.com>, Shiju Jose
<shiju.jose@...wei.com>, Ard Biesheuvel <ardb@...nel.org>, "Jiang, Dave"
<dave.jiang@...el.com>, "Weiny, Ira" <ira.weiny@...el.com>,
"linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>,
"linux-efi@...r.kernel.org" <linux-efi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v4 2/3] efi/cper: Add a new helper function to print
bitmasks
+
+ size = strscpy(str, strs[i], len);
Check for error return from strscpy()
+ len -= size;
+ str += size;
Powered by blists - more mailing lists