[LTP] [PATCH 19/19] Unify error handling in include/lapi/safe_rt_signal.h

Cyril Hrubis chrubis@suse.cz
Fri Nov 6 13:57:48 CET 2020


Hi!
> +	if (ret == -1) {
> +		tst_brk_(file, lineno, TBROK | TERRNO,
> +			"ltp_rt_sigaction(%i, %p, %p, %zu) failed",
> +			signum, act, oact, sigsetsize);
> +	} else if (ret) {
> +		tst_brk_(file, lineno, TBROK | TERRNO,
> +			"Invalid ltp_rt_sigaction(%i, %p, %p, %zu) return "
> +			"value %d", signum, act, oact, sigsetsize, ret);

The LKML coding style prefers not to break strings even if they are over
80 characters.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list