boot: Take advantage of packed device paths
authorJan Janssen <medhefgo@web.de>
Sat, 7 Jan 2023 11:03:28 +0000 (12:03 +0100)
committerJan Janssen <medhefgo@web.de>
Wed, 22 Feb 2023 20:56:26 +0000 (21:56 +0100)
commit10e27f768b7f5b1a26a80ee09b568ecda7d361cf
tree6bd3bf79a4b9057984eeffd6214df13c5d16b348
parentea592abfc68c69ab51b3e332c8972d3af7c45e3a
boot: Take advantage of packed device paths

Now that device path types are marked as packed we can safely cast and
access them. If we ever take the address of a member, we would get a
compiler warning.
src/boot/efi/device-path-util.c
src/boot/efi/part-discovery.c
src/boot/efi/vmm.c