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

Thomas Monjalon thomas at monjalon.net
Wed Feb 15 16:16:20 CET 2023


15/02/2023 11:29, Hemant Agrawal:
> This patch replaces simple printf with fprintf for debug dump
> related functions for various NXP dpaaX related drivers.

Why replacing with fprintf(stdout)?

Would it be better to provide a FILE* parameter to the functions?





More information about the dev mailing list