[PATCH] bus/pci: fix return value check of device FD
Thomas Monjalon
thomas at monjalon.net
Mon Jun 12 18:36:32 CEST 2023
12/06/2023 11:47, Burakov, Anatoly:
> On 6/12/2023 6:11 AM, Chenbo Xia wrote:
> > Fixing return value check of rte_intr_dev_fd_get() to make sure
> > negative device FD will not be used later.
> >
> > Coverity issue: 385380, 385373
> > Fixes: 095cf6e68b28 ("bus/pci: introduce MMIO read/write")
> > Fixes: 4b741542ecde ("bus/pci: avoid depending on private kernel value")
> >
> > Signed-off-by: Chenbo Xia <chenbo.xia at intel.com>
> > ---
>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
Applied, thanks.
More information about the dev
mailing list