diff options
author | 2012-10-22 15:23:29 +0100 | |
---|---|---|
committer | 2012-10-30 10:39:26 +0000 | |
commit | d292384152fdd465dba792d555ce5db83e94efa0 (patch) | |
tree | 9d221602e997270c66aa4565bc1d73280cbf5098 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | efivarfs: Return an error if we fail to read a variable (diff) | |
download | linux-dev-d292384152fdd465dba792d555ce5db83e94efa0.tar.xz linux-dev-d292384152fdd465dba792d555ce5db83e94efa0.zip |
efivarfs: Replace magic number with sizeof(attributes)
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions