mirror of
https://github.com/torvalds/linux
synced 2024-10-15 07:47:34 +00:00
8a5e0af240
pcitest is currently broken due to the following compiler error
and related warning. Fix by changing the run_test() function
signature to return an integer result.
pcitest.c: In function run_test:
pcitest.c:143:9: warning: return with a value, in function
returning void
return (ret < 0) ? ret : 1 - ret; /* return 0 if test succeeded */
pcitest.c: In function main:
pcitest.c:232:9: error: void value not ignored as it ought to be
return run_test(test);
Fixes:
|
||
---|---|---|
.. | ||
Build | ||
Makefile | ||
pcitest.c | ||
pcitest.sh |