efi_loader: correct signature of CalculateCrc32()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 7 Jul 2018 13:36:04 +0000 (15:36 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 13:00:24 +0000 (15:00 +0200)
commit8aa8360eca31b3b9f34645015df0556ce0e20e6d
treeb090f30556c8862accf3b074afc12568d83c6ac5
parent9b30232bfc6b98e7caa517bbec77f00fb46c93de
efi_loader: correct signature of CalculateCrc32()

Use const for the buffer. We are not changing the buffer.
Use efi_uintn_t where prescribed by the UEFI spec.
Prefer u32 over uint32_t.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_api.h
lib/efi_loader/efi_boottime.c