bus/vmbus: stop mapping if empty resource found
authorStephen Hemminger <sthemmin@microsoft.com>
Fri, 8 Feb 2019 03:44:04 +0000 (19:44 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 29 Mar 2019 12:44:10 +0000 (13:44 +0100)
commit41a7f8cbeeaf8cbaf23af6ed57ef49a926a2bd16
treeebedb99e5cae204d96eb8e93330d8de6cebc2881
parent3f9277031a2e0fc6e61503e55045bf41fc2bf171
bus/vmbus: stop mapping if empty resource found

If vmbus is run on older kernel (without all the uio mappings),
then the bus driver should stop when it hits the missing mappings
rather than recording the empty values.

Fixes: 831dba47bd36 ("bus/vmbus: add Hyper-V virtual bus support")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
drivers/bus/vmbus/vmbus_common_uio.c