[PATCH] [media] include/media: fix missing | operator when setting cfg

Sylwester Nawrocki s.nawrocki at samsung.com
Wed Apr 18 08:20:17 PDT 2018


On 04/18/2018 05:06 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> The value from a readl is being masked with ITE_REG_CIOCAN_MASK however
> this is not being used and cfg is being re-assigned.  I believe the
> assignment operator should actually be instead the |= operator.
> 
> Detected by CoverityScan, CID#1467987 ("Unused value")
> 
> Signed-off-by: Colin Ian King <colin.king at canonical.com>

Thanks for the patch.

Acked-by: Sylwester Nawrocki <s.nawrocki at samsung.com>



More information about the linux-arm-kernel mailing list