From: norly Date: Thu, 19 May 2022 04:58:03 +0000 (+0200) Subject: Don't ____cacheline_aligned the TX buffer X-Git-Url: https://git.enpas.org/?p=elmcan.git;a=commitdiff_plain;h=c4a0fb8d6fa40712de74b3b5d7d40af9e82b6e33 Don't ____cacheline_aligned the TX buffer TTY drivers don't seem to care, and if they did, we'd likely have to kmalloc() as before anyway. --- diff --git a/module/can327.c b/module/can327.c index 66233cc..803a9ab 100644 --- a/module/can327.c +++ b/module/can327.c @@ -90,7 +90,7 @@ struct can327 { /* TTY buffers */ u8 rxbuf[ELM327_SIZE_RXBUF]; - u8 txbuf[ELM327_SIZE_TXBUF] ____cacheline_aligned; + u8 txbuf[ELM327_SIZE_TXBUF]; /* Per-channel lock */ spinlock_t lock;