Don't ____cacheline_aligned the TX buffer
authornorly <ny-git@enpas.org>
Thu, 19 May 2022 04:58:03 +0000 (06:58 +0200)
committernorly <ny-git@enpas.org>
Thu, 19 May 2022 04:58:55 +0000 (06:58 +0200)
TTY drivers don't seem to care, and if they did, we'd likely have
to kmalloc() as before anyway.

module/can327.c

index 66233cc65f76d7ba7c3dfb7fcee6b2881cb3fff2..803a9ab79214ceee3ed0d1f74562acf1fca47134 100644 (file)
@@ -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;