igb_uio: propogate error numbers in probe code
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 6 Jun 2014 23:50:34 +0000 (16:50 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 18 Jul 2014 23:54:41 +0000 (01:54 +0200)
commit8cb854785a32b759dc010ece367c389e8857336b
tree7fb6366c5efc06da6c70ad841b5105661ec25608
parent819fc2fe2ad99c88d3f57e713d95e01ca2b7f20b
igb_uio: propogate error numbers in probe code

It is good practice to propogate the return values of failing
functions so that more information can be reported. The failed result
of probe will make it out to errno and get printed by modprobe
and will aid in diagnosis of failures.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/igb_uio/igb_uio.c