commit | 4e9e99cca942890576b154b90571fe86cbba3058 | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.huber@secunet.com> | Wed Jun 09 18:08:48 2021 +0200 |
committer | Nico Huber <nico.h@gmx.de> | Sun Jan 29 12:29:02 2023 +0000 |
tree | 8db6babbfc9dee54ea6485067fb93b46bcb7450b | |
parent | c6ff17bc79f7d6019295c1e3ec5973d2f53f8009 [diff] |
dummyflasher: Replace another case of `sizeof(struct ...)` Using the pointer's type instead ensures that we get the right size even if code changes in the future. Change-Id: If88ba394095f86c598dcc5cf1751e1c23b132d04 Signed-off-by: Nico Huber <nico.huber@secunet.com> Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/55358 Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com> Original-Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72208 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>