Re: [PATCH][next] vdpa/mlx5: fix memory allocation failure checks

2020-08-10 Thread Michael S. Tsirkin
On Sun, Aug 09, 2020 at 09:03:47AM +0300, Eli Cohen wrote: > On Thu, Aug 06, 2020 at 05:08:28PM +0100, Colin King wrote: > Acked by: Eli Cohen That should be Acked-by: (with a dash).

Re: [PATCH][next] vdpa/mlx5: fix memory allocation failure checks

2020-08-08 Thread Eli Cohen
On Thu, Aug 06, 2020 at 05:08:28PM +0100, Colin King wrote: Acked by: Eli Cohen > From: Colin Ian King > > The memory allocation failure checking for in and out is currently > checking if the pointers are valid rather than the contents of what > they point to. Hence the null check on failed mem

Re: [PATCH][next] vdpa/mlx5: fix memory allocation failure checks

2020-08-06 Thread Jason Wang
On 2020/8/7 上午12:08, Colin King wrote: From: Colin Ian King The memory allocation failure checking for in and out is currently checking if the pointers are valid rather than the contents of what they point to. Hence the null check on failed memory allocations is incorrect. Fix this by adding

[PATCH][next] vdpa/mlx5: fix memory allocation failure checks

2020-08-06 Thread Colin King
From: Colin Ian King The memory allocation failure checking for in and out is currently checking if the pointers are valid rather than the contents of what they point to. Hence the null check on failed memory allocations is incorrect. Fix this by adding the missing indirection in the check. Also