Re: [PATCH] blk-mq: fix alignment mismatch.

2021-04-08 Thread Jian Cai
Sounds good! Thanks for the help and the link. On Thu, Apr 8, 2021 at 11:12 AM Nathan Chancellor wrote: > > Hi Jian, > > On Thu, Apr 08, 2021 at 10:57:54AM -0700, Jian Cai wrote: > > So this issue is blocking the LLVM upgrading on ChromeOS. Nathan, do > > you mind sending out the smaller patch

Re: [PATCH] blk-mq: fix alignment mismatch.

2021-04-08 Thread Nathan Chancellor
Hi Jian, On Thu, Apr 08, 2021 at 10:57:54AM -0700, Jian Cai wrote: > So this issue is blocking the LLVM upgrading on ChromeOS. Nathan, do > you mind sending out the smaller patch like Nick suggested just to see > what feedback we could get? I could send it for you if you are busy, > and please

Re: [PATCH] blk-mq: fix alignment mismatch.

2021-04-08 Thread Jian Cai
So this issue is blocking the LLVM upgrading on ChromeOS. Nathan, do you mind sending out the smaller patch like Nick suggested just to see what feedback we could get? I could send it for you if you are busy, and please let me know what tags I should use in that case. Thanks, Jian On Wed, Mar

Re: [PATCH] blk-mq: fix alignment mismatch.

2021-03-31 Thread Nick Desaulniers
On Wed, Mar 31, 2021 at 2:58 PM Nathan Chancellor wrote: > > On Wed, Mar 31, 2021 at 02:27:03PM -0700, Jian Cai wrote: > > > > I just realized you already proposed solutions for skipping the check > > in > > https://lore.kernel.org/linux-block/20210310225240.4epj2mdmzt4vurr3@archlinux-ax161/#t.

Re: [PATCH] blk-mq: fix alignment mismatch.

2021-03-31 Thread Nathan Chancellor
Hi Jian, On Wed, Mar 31, 2021 at 02:27:03PM -0700, Jian Cai wrote: > Hi Nathan, > > I just realized you already proposed solutions for skipping the check > in > https://lore.kernel.org/linux-block/20210310225240.4epj2mdmzt4vurr3@archlinux-ax161/#t. > Do you have any plans to send them for

Re: [PATCH] blk-mq: fix alignment mismatch.

2021-03-31 Thread Jian Cai
Hi Nathan, I just realized you already proposed solutions for skipping the check in https://lore.kernel.org/linux-block/20210310225240.4epj2mdmzt4vurr3@archlinux-ax161/#t. Do you have any plans to send them for review? Thanks, Jian On Tue, Mar 30, 2021 at 6:31 PM Jian Cai wrote: > > Thanks

RE: [PATCH] blk-mq: fix alignment mismatch.

2021-03-31 Thread David Laight
From: Nathan Chancellor > Sent: 31 March 2021 00:30 > > Hi Jian, > > On Tue, Mar 30, 2021 at 04:02:49PM -0700, Jian Cai wrote: > > 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

Re: [PATCH] blk-mq: fix alignment mismatch.

2021-03-30 Thread Jian Cai
Thanks for all the information. I'll check for similar instances and send an updated version. On Tue, Mar 30, 2021 at 5:26 PM Guenter Roeck wrote: > > On 3/30/21 4:29 PM, Nathan Chancellor wrote: > > Hi Jian, > > > > On Tue, Mar 30, 2021 at 04:02:49PM -0700, Jian Cai wrote: > >> This fixes the

Re: [PATCH] blk-mq: fix alignment mismatch.

2021-03-30 Thread Guenter Roeck
On 3/30/21 4:29 PM, Nathan Chancellor wrote: > Hi Jian, > > On Tue, Mar 30, 2021 at 04:02:49PM -0700, Jian Cai wrote: >> 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

Re: [PATCH] blk-mq: fix alignment mismatch.

2021-03-30 Thread Nathan Chancellor
Hi Jian, On Tue, Mar 30, 2021 at 04:02:49PM -0700, Jian Cai wrote: > 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 > >

Re: [PATCH] blk-mq: fix alignment mismatch.

2021-03-30 Thread Guenter Roeck
On Tue, Mar 30, 2021 at 04:02:49PM -0700, Jian Cai wrote: > 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 That link does

[PATCH] blk-mq: fix alignment mismatch.

2021-03-30 Thread Jian Cai
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 Signed-off-by: Jian Cai --- include/linux/blkdev.h |