Message ID | 20221127144116.1418083-2-jic23@kernel.org |
---|---|
State | New |
Headers | show |
Series | Input: Fix insufficent DMA alignment. | expand |
diff --git a/drivers/input/joystick/psxpad-spi.c b/drivers/input/joystick/psxpad-spi.c index a32656064f39..8098d205b58d 100644 --- a/drivers/input/joystick/psxpad-spi.c +++ b/drivers/input/joystick/psxpad-spi.c @@ -65,8 +65,8 @@ struct psxpad { bool motor2enable; u8 motor1level; u8 motor2level; - u8 sendbuf[0x20] ____cacheline_aligned; - u8 response[sizeof(PSX_CMD_POLL)] ____cacheline_aligned; + u8 sendbuf[0x20] __aligned(ARCH_KMALLOC_MINALIGN); + u8 response[sizeof(PSX_CMD_POLL)] __aligned(ARCH_KMALLOC_MINALIGN); }; static int psxpad_command(struct psxpad *pad, const u8 sendcmdlen)