diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-01-11 13:30:46 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-01-31 14:44:44 +0000 |
commit | 94a193fb7393a50625abd9ca21f8afea275a9f87 (patch) | |
tree | 3a2ae392ae294bc5f67da5f43f725819f8a1a913 /lib/is_single_threaded.c | |
parent | deb94101c4fda22e152c2a311210cf09ae51adf6 (diff) | |
download | kernel_replicant_linux-94a193fb7393a50625abd9ca21f8afea275a9f87.tar.gz kernel_replicant_linux-94a193fb7393a50625abd9ca21f8afea275a9f87.tar.bz2 kernel_replicant_linux-94a193fb7393a50625abd9ca21f8afea275a9f87.zip |
efivarfs: Use sizeof() instead of magic number
Instead of adding a magic 4 to the variable size, use sizeof() to make
it explicitly clear what the quantity represents (the variable's
attributes).
CC: Jeremy Kerr <jeremy.kerr@canonical.com>
Cc: Chun-Yi Lee <joeyli.kernel@gmail.com>
Cc: Andy Whitcroft <apw@canonical.com>
Reported-by: Lingzhu Xiang <lxiang@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'lib/is_single_threaded.c')
0 files changed, 0 insertions, 0 deletions