On Fri, 15 Jan 2021, Daniel Wagner wrote: > This variables is updated by the result of > sched_get_priority_min(). Hence, it can't be const. > > Signed-off-by: Daniel Wagner <dwagner@xxxxxxx> > --- > src/pi_tests/pip_stress.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/pi_tests/pip_stress.c b/src/pi_tests/pip_stress.c > index 4583aa40a6b8..8b91578f9ab8 100644 > --- a/src/pi_tests/pip_stress.c > +++ b/src/pi_tests/pip_stress.c > @@ -65,7 +65,7 @@ struct State { > struct State *statep; > > const int policy = SCHED_FIFO; > -const int prio_min; /* Initialized for the minimum priority of policy */ > +static int prio_min; /* Initialized for the minimum priority of policy */ > > static void usage(int error) > { > -- > 2.29.2 > > Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>