Re: [PATCH] device-dax/kmem: Use struct_size()

2020-10-17 Thread Linus Torvalds
On Sat, Oct 17, 2020 at 2:43 PM Andrew Morton wrote: > > mm-commits is writeable-only-by-akpm. Ahh. That's fine, it's only inconvenient for these kinds of "people replied to patches". It's not necessarily just me either - people reply with Ack's etc, and the fact that the list is write-by-akpm-

Re: [PATCH] device-dax/kmem: Use struct_size()

2020-10-17 Thread Andrew Morton
On Sat, 17 Oct 2020 13:54:08 -0700 Dan Williams wrote: > On Sat, Oct 17, 2020 at 11:39 AM Linus Torvalds > wrote: > > > > On Fri, Oct 16, 2020 at 2:10 PM Dan Williams > > wrote: > > > > > > Link: > > > http://lore.kernel.org/r/CAHk-=wgntlbvad8mntvh+gqyapnwex20pxhu_+frqevvq42...@mail.gmail.co

Re: [PATCH] device-dax/kmem: Use struct_size()

2020-10-17 Thread Konstantin Ryabitsev
On Sat, Oct 17, 2020 at 11:38:32AM -0700, Linus Torvalds wrote: > > Link: > > http://lore.kernel.org/r/CAHk-=wgntlbvad8mntvh+gqyapnwex20pxhu_+frqevvq42...@mail.gmail.com > > Does that link work for you? > > Because I can't see it. > > In fact, I don't see my email at all on lore, even if I see

Re: [PATCH] device-dax/kmem: Use struct_size()

2020-10-17 Thread Dan Williams
On Sat, Oct 17, 2020 at 11:39 AM Linus Torvalds wrote: > > On Fri, Oct 16, 2020 at 2:10 PM Dan Williams wrote: > > > > Link: > > http://lore.kernel.org/r/CAHk-=wgntlbvad8mntvh+gqyapnwex20pxhu_+frqevvq42...@mail.gmail.com > > Does that link work for you? > > Because I can't see it. > > In fact, I

Re: [PATCH] device-dax/kmem: Use struct_size()

2020-10-17 Thread Linus Torvalds
On Fri, Oct 16, 2020 at 2:10 PM Dan Williams wrote: > > Link: > http://lore.kernel.org/r/CAHk-=wgntlbvad8mntvh+gqyapnwex20pxhu_+frqevvq42...@mail.gmail.com Does that link work for you? Because I can't see it. In fact, I don't see my email at all on lore, even if I see Andrew's email that I ans

[PATCH] device-dax/kmem: Use struct_size()

2020-10-16 Thread Dan Williams
Linus notes the kernel has had a nice helper for the 'size of struct with variable array member at the end' operation for a couple years now, use it. Link: http://lore.kernel.org/r/CAHk-=wgntlbvad8mntvh+gqyapnwex20pxhu_+frqevvq42...@mail.gmail.com Reported-by: Linus Torvalds Signed-off-by: Dan W