Re: [ovs-dev] [PATCH] datapath: Fix compiling error for latest Linux 4.14 kernel

2019-04-26 Thread Yifeng Sun
Sure, I will do that. Thanks! Yifeng On Fri, Apr 26, 2019 at 1:31 PM Gregory Rose wrote: > > > > On 4/26/2019 1:18 PM, Yifeng Sun wrote: > > Hi Greg, > > > > I saw the compilation error for kernel 4.14.111 because `struct_size` > > isn't defined in kernel source tree. I didn't dig into it though.

Re: [ovs-dev] [PATCH] datapath: Fix compiling error for latest Linux 4.14 kernel

2019-04-26 Thread Gregory Rose
On 4/26/2019 1:18 PM, Yifeng Sun wrote: Hi Greg, I saw the compilation error for kernel 4.14.111 because `struct_size` isn't defined in kernel source tree. I didn't dig into it though. I see the problem then.  The .travis.yml file tests 4.14.63.  Please update the patch to include an update

Re: [ovs-dev] [PATCH] datapath: Fix compiling error for latest Linux 4.14 kernel

2019-04-26 Thread Yifeng Sun
Hi Greg, I saw the compilation error for kernel 4.14.111 because `struct_size` isn't defined in kernel source tree. I didn't dig into it though. Thanks, Yifeng On Fri, Apr 26, 2019 at 1:13 PM Gregory Rose wrote: > > > On 4/26/2019 11:07 AM, Yifeng Sun wrote: > > CC: Greg Rose > > Fixes: f72469

Re: [ovs-dev] [PATCH] datapath: Fix compiling error for latest Linux 4.14 kernel

2019-04-26 Thread Gregory Rose
On 4/26/2019 11:07 AM, Yifeng Sun wrote: CC: Greg Rose Fixes: f72469405eec9 ("datapath: meter: Use struct_size() in kzalloc()") Signed-off-by: Yifeng Sun --- acinclude.m4 | 2 ++ datapath/linux/compat/include/linux/overflow.h | 2 +- datapath/meter.c

[ovs-dev] [PATCH] datapath: Fix compiling error for latest Linux 4.14 kernel

2019-04-26 Thread Yifeng Sun
CC: Greg Rose Fixes: f72469405eec9 ("datapath: meter: Use struct_size() in kzalloc()") Signed-off-by: Yifeng Sun --- acinclude.m4 | 2 ++ datapath/linux/compat/include/linux/overflow.h | 2 +- datapath/meter.c | 1 + 3 files changed