-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/virtio: fix initialization to return negative errno
[ upstream commit 55e19d06f8a8a865297532071453c10544a07a24 ] virtio_init_device() and called helper functions sometimes return -1 when return code should be negative errno. Fix all such cases to return correct negative errno instead. Fixes: 26b683b ("net/virtio: setup Rx queue interrupts") Fixes: 0c9d662 ("net/virtio: support RSS") Fixes: 6ba1f63 ("virtio: support specification 1.0") Fixes: 49d26d9 ("net/virtio: support MTU feature") Signed-off-by: Boleslav Stankevich <boleslav.stankevich@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
- Loading branch information
1 parent
bdc6b54
commit 08faea9
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters