ramips: 5.15: add patch fixing compilation warning for hsdma-mt7621
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 May 2023 23:13:45 +0000 (01:13 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 May 2023 01:15:39 +0000 (03:15 +0200)
commitda2f5e8776da6ca7ca5ae9646243dc0f04ce24b9
tree1493a75aaf2fdd02f31fbad3ff0426b5c5915a12
parent82afdf6056e747b0780511fb149e57d5247e6daf
ramips: 5.15: add patch fixing compilation warning for hsdma-mt7621

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>
target/linux/ramips/patches-5.15/109-drivers-mt7621-dma-handle-error-from-device_reset.patch [new file with mode: 0644]