Re: [PATCH 4/4] vdpa: Add documentation for vdpa_alloc_device() macro

2021-07-26 Thread Stefano Garzarella
On Thu, Jul 15, 2021 at 04:00:26PM +0800, Xie Yongji wrote: The return value of vdpa_alloc_device() macro is not very clear, so that most of callers did the wrong check. Let's add some comments to better document it. Signed-off-by: Xie Yongji --- include/linux/vdpa.h | 11 +++ 1 file cha

Re: [PATCH 4/4] vdpa: Add documentation for vdpa_alloc_device() macro

2021-07-15 Thread Jason Wang
在 2021/7/15 下午4:00, Xie Yongji 写道: The return value of vdpa_alloc_device() macro is not very clear, so that most of callers did the wrong check. Let's add some comments to better document it. Signed-off-by: Xie Yongji Acked-by: Jason Wang --- include/linux/vdpa.h | 11 +++ 1