[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210330230249.709221-1-jiancai@google.com>
Date: Tue, 30 Mar 2021 16:02:49 -0700
From: Jian Cai <jiancai@...gle.com>
To: unlisted-recipients:; (no To-header on input)
Cc: cjdb@...gle.com, manojgupta@...gle.com, llozano@...gle.com,
clang-built-linux@...glegroups.com, Jian Cai <jiancai@...gle.com>,
Guenter Roeck <linux@...ck-us.net>,
Jens Axboe <axboe@...nel.dk>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] blk-mq: fix alignment mismatch.
This fixes the mismatch of alignments between csd and its use as an
argument to smp_call_function_single_async, which causes build failure
when -Walign-mismatch in Clang is used.
Link:
http://crrev.com/c/1193732
Suggested-by: Guenter Roeck <linux@...ck-us.net>
Signed-off-by: Jian Cai <jiancai@...gle.com>
---
include/linux/blkdev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index bc6bc8383b43..3b92330d95ad 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -231,7 +231,7 @@ struct request {
unsigned long deadline;
union {
- struct __call_single_data csd;
+ call_single_data_t csd;
u64 fifo_time;
};
--
2.31.0.291.g576ba9dcdaf-goog
Powered by blists - more mailing lists