Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit fa341650 authored by Jakob Koschel's avatar Jakob Koschel Committed by Rafael J. Wysocki
Browse files

ACPI, APEI: Use the correct variable for sizeof()


While the original code is valid, it is not the obvious choice for the
sizeof() call and in preparation to limit the scope of the list iterator
variable the sizeof should be changed to the size of the variable
being allocated.

Signed-off-by: default avatarJakob Koschel <jakobkoschel@gmail.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 242ba665
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment