From: Stefan Richter Date: Sun, 1 Jul 2007 11:55:31 +0000 (+0200) Subject: firewire: fw-sbp2: correctly align page tables X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9fb2dd12c019965ffd15e5a0727af14488b3a772;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git firewire: fw-sbp2: correctly align page tables This is required per SBP-2 clause 5.2. Signed-off-by: Stefan Richter Acked-by: Kristian Høgsberg --- diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index 491d9484df1b..212674d723e3 100644 --- a/drivers/firewire/fw-sbp2.c +++ b/drivers/firewire/fw-sbp2.c @@ -220,7 +220,7 @@ struct sbp2_command_orb { scsi_done_fn_t done; struct fw_unit *unit; - struct sbp2_pointer page_table[SG_ALL]; + struct sbp2_pointer page_table[SG_ALL] __attribute__((aligned(8))); dma_addr_t page_table_bus; };