Re: linux-4.15 bug report

From: Dan Williams
Date: Fri Feb 09 2018 - 11:57:20 EST


On Fri, Feb 9, 2018 at 7:33 AM, David Binderman <dcb314@xxxxxxxxxxx> wrote:
> Hello there,
>
> linux-4.15/drivers/dma/ppc4xx/adma.c:3797]: (warning) Redundant assignment of 'adev->common.cap_mask' to itself.
>
> Source code is
>
> adev->common.cap_mask = adev->common.cap_mask;
>
> Suggest either remove the code or do something useful.

Thanks for the report, Please send a patch.