Re: [patch 5/8] rslib: Split rs control struct

2018-04-19 Thread Thomas Gleixner
On Wed, 18 Apr 2018, Kees Cook wrote: > On Wed, Apr 4, 2018 at 12:40 PM, Boris Brezillon > wrote: > > Don't know how you want to get these patches merged, but the NAND > > related changes will conflict with my nand/for-4.17 changes (NAND > > code base has been moved

Re: [patch 5/8] rslib: Split rs control struct

2018-04-19 Thread Thomas Gleixner
On Wed, 18 Apr 2018, Kees Cook wrote: > On Wed, Apr 4, 2018 at 12:40 PM, Boris Brezillon > wrote: > > Don't know how you want to get these patches merged, but the NAND > > related changes will conflict with my nand/for-4.17 changes (NAND > > code base has been moved to drivers/mtd/nand/raw). > >

Re: [patch 5/8] rslib: Split rs control struct

2018-04-18 Thread Kees Cook
On Wed, Apr 4, 2018 at 12:40 PM, Boris Brezillon wrote: > Hi Thomas, > > On Wed, 28 Mar 2018 22:51:43 +0200 > Thomas Gleixner wrote: > >> The decoder library uses variable length arrays on stack. To get rid of >> them it's it would be simple to

Re: [patch 5/8] rslib: Split rs control struct

2018-04-18 Thread Kees Cook
On Wed, Apr 4, 2018 at 12:40 PM, Boris Brezillon wrote: > Hi Thomas, > > On Wed, 28 Mar 2018 22:51:43 +0200 > Thomas Gleixner wrote: > >> The decoder library uses variable length arrays on stack. To get rid of >> them it's it would be simple to allocate fixed length arrays on stack, but > >

Re: [patch 5/8] rslib: Split rs control struct

2018-04-04 Thread Boris Brezillon
Hi Thomas, On Wed, 28 Mar 2018 22:51:43 +0200 Thomas Gleixner wrote: > The decoder library uses variable length arrays on stack. To get rid of > them it's it would be simple to allocate fixed length arrays on stack, but ^ s/it's// > those might become rather large.

Re: [patch 5/8] rslib: Split rs control struct

2018-04-04 Thread Boris Brezillon
Hi Thomas, On Wed, 28 Mar 2018 22:51:43 +0200 Thomas Gleixner wrote: > The decoder library uses variable length arrays on stack. To get rid of > them it's it would be simple to allocate fixed length arrays on stack, but ^ s/it's// > those might become rather large. The other solution

[patch 5/8] rslib: Split rs control struct

2018-03-28 Thread Thomas Gleixner
The decoder library uses variable length arrays on stack. To get rid of them it's it would be simple to allocate fixed length arrays on stack, but those might become rather large. The other solution is to allocate the buffers in the rs control structure, but this cannot be done as long as the

[patch 5/8] rslib: Split rs control struct

2018-03-28 Thread Thomas Gleixner
The decoder library uses variable length arrays on stack. To get rid of them it's it would be simple to allocate fixed length arrays on stack, but those might become rather large. The other solution is to allocate the buffers in the rs control structure, but this cannot be done as long as the