git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7253eab
)
efivarfs: Replace magic number with sizeof(attributes)
author
Matt Fleming
<matt.fleming@intel.com>
Mon, 22 Oct 2012 14:23:29 +0000
(15:23 +0100)
committer
Matt Fleming
<matt.fleming@intel.com>
Tue, 30 Oct 2012 10:39:26 +0000
(10:39 +0000)
Seeing "+ 4" littered throughout the functions gets a bit
confusing. Use "sizeof(attributes)" which clearly explains what
quantity we're adding.
Acked-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
No differences found