]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firmware: microchip: move buffer allocation into mpfs_auto_update_set_image_address()
authorConor Dooley <conor.dooley@microchip.com>
Wed, 10 Apr 2024 11:58:07 +0000 (12:58 +0100)
committerConor Dooley <conor.dooley@microchip.com>
Wed, 5 Jun 2024 18:36:17 +0000 (19:36 +0100)
commite277026b5e2dc30323115ffca0916f1b7d217906
treea3339031aeb80ac067c79eb733f2196f43c95178
parenta2bf9dfe00905c2426893229b593487fe5abf152
firmware: microchip: move buffer allocation into mpfs_auto_update_set_image_address()

This buffer is used exclusively by mpfs_auto_update_set_image_address(),
so move the management of it there, employing the recently added cleanup
infrastructure to avoid littering the function with gotos.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
drivers/firmware/microchip/mpfs-auto-update.c