>
> 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
> > ---
> >
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-