Re: [PATCH] Add missing attributes to EFI variable attribute printout from sysfs

From: Khalid Aziz
Date: Fri Jul 13 2012 - 11:54:04 EST


On 07/13/2012 09:46 AM, Matthew Garrett wrote:
On Fri, Jul 13, 2012 at 09:38:27AM -0600, Khalid Aziz wrote:
if (var->Attributes & 0x4)
str += sprintf(str, "EFI_VARIABLE_RUNTIME_ACCESS\n");
I know you're just following the pattern of the existing code, but could
you change these to be more like

if (var->Attributes & EFI_VARIABLE_RUNTIME_ACCESS)

while you're at it? I think that'd be a worthwhile cleanup.


That is a good suggestion. I will make the changes and send out updated version.

--
Khalid Aziz
khalid.aziz@xxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/