Re: [PATCH v1] virtio_pmem: populate numa information

2022-11-13 Thread Pankaj Gupta
> > Pankaj Gupta wrote: > > > > > > Compute the numa information for a virtio_pmem device from the > > > > > > memory > > > > > > range of the device. Previously, the target_node was always 0 since > > > > > > the ndr_desc.target_node field was never explicitly set. The code > > > > > > for > > >

Re: [PATCH] ndtest: Remove redundant NULL check

2022-11-13 Thread Kang Minchul
2022년 11월 13일 (일) 오후 8:26, Kang Minchul 님이 작성: > > This addresses cocci warning as follows: > WARNING: NULL check before some freeing functions is not needed. > > Signed-off-by: Kang Minchul > --- > tools/testing/nvdimm/test/ndtest.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > d

[PATCH] ndtest: Remove redundant NULL check

2022-11-13 Thread Kang Minchul
This addresses cocci warning as follows: WARNING: NULL check before some freeing functions is not needed. Signed-off-by: Kang Minchul --- tools/testing/nvdimm/test/ndtest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/testing/nvdimm/test/ndtest.c b/tools/testing/n