[dpdk-dev] [PATCH v2] eal: fix unchecked return value from library
Thomas Monjalon
thomas.monjalon at 6wind.com
Wed Apr 27 16:03:52 CEST 2016
2016-04-22 15:17, Daniel Mrzyglod:
> Fix issue reported by Coverity.
> Coverity ID 13194
>
> The function returns a value that indicates an error condition. If this
> is not checked, the error condition may not be handled correctly.
>
> In pci_vfio_mp_sync_thread: Value returned from a library function is not
> checked for errors before being used. This value may indicate an error condition.
>
> Fixes: 2f4adfad0a69 ("vfio: add multiprocess support")
>
> v2:
> Changed ERR to WARNING because it has no real impact on the application
> usability
>
> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod at intel.com>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
Applied, thanks
More information about the dev
mailing list