Messages in this thread | | | Date | Tue, 12 May 2020 16:59:32 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH -next] mm/hmm/test: fix error return code in hmm_dmirror_init() |
| |
On Sat, May 09, 2020 at 03:02:34AM +0000, Wei Yongjun wrote: > Fix to return negative error code -ENOMEM from the alloc_page() error > handling case instead of 0, as done elsewhere in this function. > > Fixes: 5d5e54be8a1e ("mm/hmm/test: add selftest driver for HMM") > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> > --- > lib/test_hmm.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)
Thank you, I squashed this into the original commit
Jason
| |