summaryrefslogtreecommitdiff
path: root/src/drivers/efi/efivars.h
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-06-23 18:55:34 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-06-26 12:03:06 +0000
commit8cbafe8723bec983cab5e00db347551a27f74875 (patch)
tree748b31928b91d99d2e4a033777f76279c0c4faf1 /src/drivers/efi/efivars.h
parent50cbb933a312c4fd57b8f3bdf6fc938e4179f2f0 (diff)
soc/amd/common/block/acpi/ivrs: use size of instance instead of type
To determine the length parameter of memset, use sizeof with the instance as argument instead of the type. The behavior is the same, but it clarifies parameters in the memset call a bit. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I63674fbed7097a583cd77fa6e700652d6dcc5565 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76078 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/drivers/efi/efivars.h')
0 files changed, 0 insertions, 0 deletions