]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firmware: turris-mox-rwtm: Use ALIGN() instead of hardcoding
authorMarek BehĂșn <kabel@kernel.org>
Sat, 31 Aug 2024 09:20:49 +0000 (11:20 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 2 Sep 2024 09:42:10 +0000 (09:42 +0000)
commit82944f65a0a59a44c397e3e22d592afdfb9b3074
treee83bcd15da2e2585894f5a3d396af5a7b64d472b
parent8a4853a65b88240dc778b5d4360a2921ec6b22c8
firmware: turris-mox-rwtm: Use ALIGN() instead of hardcoding

Use ALIGN(max, 4) instead of hardcoding ((max + 3) & ~3).

Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Link: https://lore.kernel.org/r/20240831092050.23093-16-kabel@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/firmware/turris-mox-rwtm.c