Re: [PATCH] dma-buf: heaps: bugfix for selftest failure

2020-03-18 Thread xiaolong he
> > On 3/3/20 10:34 PM, Leon He wrote: > > If the 'name' array in check_vgem() was not initialized to null, the > > value of name[4] may be random. Which will cause strcmp(name, "vgem") > > failed. > > Nit: "to fail" instead of "failed" OK, thanks! > > > > > > Signed-off-by: Leon He > > --- > >

Re: [PATCH] dma-buf: heaps: bugfix for selftest failure

2020-03-13 Thread shuah
On 3/3/20 10:34 PM, Leon He wrote: If the 'name' array in check_vgem() was not initialized to null, the value of name[4] may be random. Which will cause strcmp(name, "vgem") failed. Nit: "to fail" instead of "failed" Signed-off-by: Leon He --- tools/testing/selftests/dmabuf-heaps/dmabuf-