Closed axel-h closed 3 years ago
The function doesn't seem to perform any test asserts or similar, just performing some actions. So the correct thing to return is probably 0
, but I'm not entirely sure what the convention is. @kent-mcleod or @yyshen, any input?
The function doesn't seem to perform any test asserts or similar, just performing some actions. So the correct thing to return is probably
0
, but I'm not entirely sure what the convention is. @kent-mcleod or @yyshen, any input?
I think the test is fine. If you look at the calling function, test_changing_affinity. It checks the MRs set by the function as the results. A return 0 to avoid the warning should be enough, since the results are in MRs.
The function
sched0022_to_fn()
does not return a value and the compiler complainsI wonder, is there just a
return sel4test_get_result();
missing?