Re: [PATCH] ARM: OMAP: Remove duplicated operand in OR operation

From: Paul Walmsley
Date: Wed Sep 23 2015 - 16:08:08 EST


On Mon, 21 Sep 2015, Roger Quadros wrote:

> On 17/09/15 16:22, Javier Martinez Canillas wrote:
> > Commit b483a4a5a711 ("ARM: OMAP4+: hwmod data: Don't prevent RESET of
> > USB Host module") added the SYSC_HAS_RESET_STATUS flag to both OMAP4
> > and OMAP5 USB host module hwmon sysconfig but that flag was already
> > set for OMAP5. So now the flag appears twice in the expression.
> >
> > make coccicheck complains with the following message:
> >
> > omap_hwmod_54xx_data.c:1846:37-58: duplicated argument to & or |
> >
> > Signed-off-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>
>
> Acked-by: Roger Quadros <rogerq@xxxxxx>

Thanks, queued for v4.4.

- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/