-
由 Matt Fleming 提交于
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: NLingzhu Xiang <lxiang@redhat.com> Signed-off-by: NMatt Fleming <matt.fleming@intel.com>
94a193fb