Re: [PATCH] ASoC: soc-topology: fix __le32 conversion in printed values

From: Mark Brown

Date: Wed Mar 11 2026 - 13:11:58 EST


On Tue, Mar 10, 2026 at 09:49:48AM +0000, Ben Dooks wrote:

> @@ -225,7 +225,10 @@ static inline void soc_control_err(struct soc_tplg *tplg,
> {
> dev_err(tplg->dev,
> "ASoC: no complete control IO handler for %s type (g,p,i) %d:%d:%d at 0x%lx\n",
> - name, hdr->ops.get, hdr->ops.put, hdr->ops.info,
> + name,
> + le32_to_cpu(hdr->ops.get),
> + le32_to_cpu(hdr->ops.put),
> + le32_to_cpu(hdr->ops.info),

Shouldn't we also change the prints to %u given that le32_to_cpu() works
with unsigned data (IIRC)?

Attachment: signature.asc
Description: PGP signature