[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120713154645.GA16059@srcf.ucam.org>
Date: Fri, 13 Jul 2012 16:46:45 +0100
From: Matthew Garrett <mjg59@...f.ucam.org>
To: Khalid Aziz <khalid.aziz@...com>
Cc: linux-kernel@...r.kernel.org, tony.luck@...el.com,
mikew@...gle.com, keescook@...omium.org, gong.chen@...ux.intel.com
Subject: Re: [PATCH] Add missing attributes to EFI variable attribute print
out from sysfs
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.
--
Matthew Garrett | mjg59@...f.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists