aboutsummaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches-5.15/109-drivers-mt7621-dma-handle-error-from-device_reset.patch
Commit message (Collapse)AuthorAge
* ramips: 5.15: add patch fixing compilation warning for hsdma-mt7621Christian Marangi2023-05-12
Add patch fixing compilation warning for hsdma-mt7621: drivers/staging/mt7621-dma/hsdma-mt7621.c: In function 'mtk_hsdma_probe': drivers/staging/mt7621-dma/hsdma-mt7621.c:685:9: error: ignoring return value of 'device_reset' declared with attribute 'warn_unused_result' [-Werror=unused-result] 685 | device_reset(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>