[PATCH -next v2] net: wwan: t7xx: use GFP_ATOMIC under spin lock in t7xx_cldma_gpd_set_next_ptr()

Loic Poulain loic.poulain at linaro.org
Thu May 19 00:30:49 PDT 2022


On Thu, 19 May 2022 at 05:10, Yang Yingliang <yangyingliang at huawei.com> wrote:
>
> Sometimes t7xx_cldma_gpd_set_next_ptr() is called under spin lock,
> so add 'gfp_mask' parameter in t7xx_cldma_gpd_set_next_ptr() to pass
> the flag.
>
> Fixes: 39d439047f1d ("net: wwan: t7xx: Add control DMA interface")
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>

Reviewed-by: Loic Poulain <loic.poulain at linaro.org>



More information about the Linux-mediatek mailing list