summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-io.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2023-02-07 18:35:43 +0100
committerMike Snitzer <snitzer@kernel.org>2023-02-14 20:23:07 +0100
commitf8922a48291d40c4fb07d66ef88c69ea415d8cd9 (patch)
treeea6aafb3121514f31dc1f6c70acec297670b5b80 /drivers/md/dm-io.c
parentdm: avoid using symbolic permissions (diff)
downloadlinux-f8922a48291d40c4fb07d66ef88c69ea415d8cd9.tar.xz
linux-f8922a48291d40c4fb07d66ef88c69ea415d8cd9.zip
dm: favour __aligned(N) versus "__attribute__ (aligned(N))"
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-io.c')
-rw-r--r--drivers/md/dm-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-io.c b/drivers/md/dm-io.c
index cd8dfc62677a..28da60c23f8a 100644
--- a/drivers/md/dm-io.c
+++ b/drivers/md/dm-io.c
@@ -39,7 +39,7 @@ struct io {
void *context;
void *vma_invalidate_address;
unsigned long vma_invalidate_size;
-} __attribute__((aligned(DM_IO_MAX_REGIONS)));
+} __aligned(DM_IO_MAX_REGIONS);
static struct kmem_cache *_dm_io_cache;