[LTP] [PATCH v6 1/3] Add library support for /proc/sys/kernel/tainted

Cyril Hrubis chrubis@suse.cz
Tue Mar 13 13:26:30 CET 2018


Hi!
> +static unsigned int tst_taint_read(void)
> +{
> +	unsigned int val;
> +
> +	if (taint_mask == (unsigned int) -1)
> +		tst_brk(TBROK, "need to call tst_taint_init() first");

I've removed this check, since all the entry points that could call
this function either set the taint_mask or checks that it has been set.

And finally pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list