]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev/ata_id: use unliagned helpers 26785/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Mar 2023 15:42:32 +0000 (16:42 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Mar 2023 16:35:17 +0000 (17:35 +0100)
commitfe0637079fa943ed4255745c648f94ae33a635f9
tree74de85ba13c10b0a550c036e94338cfea4a1eeec
parent42fff80cb8fcd0df2d22d9875319a8e6c52efcae
udev/ata_id: use unliagned helpers

The array is a union, aligned as uint16_t, so we were accessing fields at
offsets of two, so we didn't do actually do unaligned access. But let's make
this explicit.
src/udev/ata_id/ata_id.c