Re: [PATCH] misc: altera-stapl: Replace sprintf with hex_asc_lo for hex conversion

From: Greg KH

Date: Thu Apr 02 2026 - 10:31:20 EST


On Thu, Mar 26, 2026 at 01:32:57PM -0400, aravindanilraj0702@xxxxxxxxx wrote:
> From: Aravind Anilraj <aravindanilraj0702@xxxxxxxxx>
>
> Replace sprintf() calls used to format single hex digits with direct
> assignment using hex_asc_lo().This avoids unnecessary overhead
> from using sprintf for single character output.
>
> No functional changes.

Nah, this driver is so old, let's just leave it alone wherever possible,
unless you have the hardware to actually test your changes?

thanks,

greg k-h