aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorFrank Haverkamp <[email protected]>2014-09-10 16:37:46 +0200
committerGreg Kroah-Hartman <[email protected]>2014-09-23 23:15:46 -0700
commit95a8825c9c3482e31ee5064184138a18be186515 (patch)
tree4d0e262dfdb5797c0fc18f895d1eed00aaafaed9 /include/linux/fpga/fpga-mgr.h
parentffdbb715fa0c53203b1ea2a6ecc54bdcc8951612 (diff)
GenWQE: Check pci_get_totalvfs return code
Currently the driver is using the pci_get_totalvfs() return code directly in a loop. To avoid problems with potentially negative returns in case of errors, we are adding some more sanity checking code. Signed-off-by: Frank Haverkamp <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions