[PATCH] mci: stm32_sdmmc2: fix benign typo in dma_map_single

Sascha Hauer s.hauer at pengutronix.de
Fri Apr 11 00:14:57 PDT 2025


On Thu, 10 Apr 2025 15:03:02 +0200, Ahmad Fatoum wrote:
> struct mci_data::src and ::dest are members of the same union and thus
> can be used interchangeably, provided that the difference in type is
> accounted for.
> 
> Nevertheless, it makes code easier to reason about and saves needless
> casts to use the correct union member. Do that for the read case.
> 
> [...]

Applied, thanks!

[1/1] mci: stm32_sdmmc2: fix benign typo in dma_map_single
      https://git.pengutronix.de/cgit/barebox/commit/?id=3c0e5d6684a6 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list