Re: [PATCH 6/7] md/raid10, LLVM: get rid of variable length array

2017-03-17 Thread Alexander Potapenko
c *bvec = r10_bio->master_bio->bi_io_vec; > > > That's disgusting. Why not fix LLVM to support this? IIUC there's only a handful of VLAIS instances in LLVM code, why not just drop them for the sake of better code portability? (To quote Linus, "this feature is an abomina

Re: [PATCH 6/7] md/raid10, LLVM: get rid of variable length array

2017-03-17 Thread Alexander Potapenko
On Fri, Mar 17, 2017 at 1:31 PM, Alexander Potapenko wrote: > On Fri, Mar 17, 2017 at 1:08 PM, Peter Zijlstra wrote: >> On Thu, Mar 16, 2017 at 05:15:19PM -0700, Michael Davidson wrote: >>> Replace a variable length array in a struct by allocating >>> the memory for

Re: KMSAN: uninit-value in gf128mul_4k_lle (3)

2018-11-28 Thread Alexander Potapenko
:1796 > > do_syscall_64+0xcf/0x110 arch/x86/entry/common.c:291 > > entry_SYSCALL_64_after_hwframe+0x63/0xe7 > > == > > > > > > --- > > This bug is generated by a bot. It may contain errors. >