[PATCH v2 2/2] drivers: replace printf with fprintf for debug functions

Stephen Hemminger stephen at networkplumber.org
Tue Jul 2 17:11:12 CEST 2024


On Tue,  2 Jul 2024 16:10:13 +0530
Hemant Agrawal <hemant.agrawal at nxp.com> wrote:

>  
> -	printf("\n JD before conversion\n");
> +	fprintf(stdout, "\n JD before conversion\n");
>  	for (i = 0; i < 12; i++)
> -		printf("\n 0x%08x", ctx->jobdes.desc[i]);
> +		fprintf(stdout, "\n 0x%08x", ctx->jobdes.desc[i]);

Don't see the point of this change, printf() and fprintf(stdout) are same thing.


More information about the dev mailing list