From: Sylwester Nawrocki Date: Wed, 18 Apr 2018 15:20:17 +0000 Subject: Re: [PATCH] [media] include/media: fix missing | operator when setting cfg Message-Id: List-Id: References: <20180418150617.22489-1-colin.king@canonical.com> In-Reply-To: <20180418150617.22489-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On 04/18/2018 05:06 PM, Colin King wrote: > From: Colin Ian King > > 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 Thanks for the patch. Acked-by: Sylwester Nawrocki