]> git.karo-electronics.de Git - karo-tx-linux.git/commit
firmware: Add missing attributes to EFI variable attribute print out from sysfs
authorKhalid Aziz <khalid.aziz@hp.com>
Mon, 10 Sep 2012 18:52:42 +0000 (12:52 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Oct 2012 15:39:32 +0000 (08:39 -0700)
commit320e71f47b21945764985786c4baa4857c8dce98
treed006597ac2ba5a57bd37a042c4f891c076567657
parent2975303676cea3f3d7cc076e32c1542637ef7edc
firmware: Add missing attributes to EFI variable attribute print out from sysfs

commit 7083909023bbe29b3176e92d2d089def1aa7aa1e upstream.

Some of the EFI variable attributes are missing from print out from
/sys/firmware/efi/vars/*/attributes. This patch adds those in. It also
updates code to use pre-defined constants for masking current value
of attributes.

Signed-off-by: Khalid Aziz <khalid.aziz@hp.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/efivars.c