Acked-by: Hemant Agrawal
Subject: Re: [dpdk-dev] [PATCH 2/2] bus/fslmc: fix check for vfio_group_fd
On 19-May-20 4:42 AM, wangyunjian wrote:
From: Yunjian Wang
The issue is that a file descriptor at 0 is a valid one. Currently the
file not found, the return value will be set to 0. As a result, it is
impossible to
; Subject: Re: [dpdk-dev] [PATCH 2/2] bus/fslmc: fix check for vfio_group_fd
>
> On 19-May-20 4:42 AM, wangyunjian wrote:
> > From: Yunjian Wang
> >
> > The issue is that a file descriptor at 0 is a valid one. Currently the
> > file not found, the return value will be set
On 19-May-20 4:42 AM, wangyunjian wrote:
From: Yunjian Wang
The issue is that a file descriptor at 0 is a valid one. Currently
the file not found, the return value will be set to 0. As a result,
it is impossible to distinguish between a correct descriptor and a
failed return value. Fix it to re
ubject: [dpdk-dev] [PATCH 2/2] bus/fslmc: fix check for vfio_group_fd
>
> From: Yunjian Wang
>
> The issue is that a file descriptor at 0 is a valid one. Currently the file
> not found,
> the return value will be set to 0. As a result, it is impossible to
> distinguish
&g
From: Yunjian Wang
The issue is that a file descriptor at 0 is a valid one. Currently
the file not found, the return value will be set to 0. As a result,
it is impossible to distinguish between a correct descriptor and a
failed return value. Fix it to return -ENOENT instead of 0.
Fixes: a69f7930
6 matches
Mail list logo