]> Gentwo Git Trees - linux/.git/commit
drm/sti: check dma_set_coherent_mask return value
authorRaphael Gallais-Pou <rgallaispou@gmail.com>
Thu, 17 Jul 2025 19:15:32 +0000 (21:15 +0200)
committerRaphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Thu, 30 Oct 2025 09:30:09 +0000 (10:30 +0100)
commit76f396696efe702be3564a67f9d2136778f4713a
tree9e3a16316bea7de04e83594bff72ed050f67ebac
parentbdaf9fa04946b9d1086d69b7269c113ace8e9f76
drm/sti: check dma_set_coherent_mask return value

Return value for DMA allocation was not checked.  Check it and return
error code in case of failing.

Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Acked-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://patch.msgid.link/20250717-sti-rework-v1-1-46d516fb1ebb@gmail.com
Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
drivers/gpu/drm/sti/sti_drv.c