[LTP] [PATCH v3 1/2] Refactoring aio-stress.c using LTP API

Petr Vorel pvorel@suse.cz
Tue Jan 4 11:09:21 CET 2022


Hi Andrea,

> +		ret = asprintf(&msg, " %.0f < %d", lat->deviations[i], deviations[i]);
> +		if (ret < 0)
> +			tst_brk(TBROK, "asprintf memory allocation error");
> +		ptr += sprintf(ptr,"%s", msg);
ptr += sprintf(ptr,"%s", msg);

make check-aio-stress warns: ERROR: space required after that ',' (ctx:VxV)

Otherwise obviously ok, waiting if anybody wants to have a look before I merge
it.

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr


More information about the ltp mailing list