efi_selftest: clean up unaligned unit test
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 1 May 2022 09:24:22 +0000 (11:24 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 3 May 2022 19:39:22 +0000 (21:39 +0200)
commit0db8221f323efe9c92e569b2d741229e020f3e08
tree5a79a52912af1225dbda41732c20e057ad9077cb
parent1b2c3e543ca7fe70ffbe4444a5e90c037c782fbb
efi_selftest: clean up unaligned unit test

* fix typo %s/give/given/
* don't use void * in pointer arithmetic

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_selftest/efi_selftest_unaligned.c