numam-dpdk/drivers/bus/vmbus
Harman Kalra aedd054c5c drivers: check interrupt file descriptor validity
This patch fixes coverity issue by adding a check for negative value to
avoid bad bit shift operation and other invalid use of file descriptors.

Coverity issue: 373717, 373697, 373685
Coverity issue: 373723, 373720, 373719, 373718, 373715, 373714, 373713
Coverity issue: 373710, 373707, 373706, 373705, 373704, 373701, 373700
Coverity issue: 373698, 373695, 373692, 373690, 373689
Coverity issue: 373722, 373721, 373709, 373702, 373696
Fixes: d61138d4f0 ("drivers: remove direct access to interrupt handle")

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
2021-11-08 17:32:42 +01:00
..
linux drivers: check interrupt file descriptor validity 2021-11-08 17:32:42 +01:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
private.h bus/vmbus: fix ring buffer mapping in secondary process 2021-10-13 13:55:09 +02:00
rte_bus_vmbus.h drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
rte_vmbus_reg.h drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00
vmbus_bufring.c bus/vmbus: simplify arguments to need signal function 2020-04-21 13:57:06 +02:00
vmbus_channel.c bus/vmbus: fix ring buffer mapping in secondary process 2021-10-13 13:55:09 +02:00
vmbus_common_uio.c drivers: check interrupt file descriptor validity 2021-11-08 17:32:42 +01:00
vmbus_common.c bus: clarify log for non-NUMA-aware devices 2021-08-04 11:33:31 +02:00