On Wed, Feb 26, 2014 at 08:53:39PM -0300, Fabio Estevam wrote:
From: Fabio Estevam fabio.este...@freescale.com
Fix the following static checker warning:
drivers/staging/imx-drm/ipu-v3/ipu-dmfc.c:164 ipu_dmfc_setup_channel() warn:
variable dereferenced before check 'dmfc' (see line 157)
On Thu, Feb 27, 2014 at 11:54:23PM +, Russell King - ARM Linux wrote:
On Thu, Feb 27, 2014 at 02:52:34PM -0800, Greg KH wrote:
How can dmfc ever be NULL? You control what values you pass to it, why
check it again?
Indeed. This is actually a case where the static checker warning is
From: Fabio Estevam fabio.este...@freescale.com
Fix the following static checker warning:
drivers/staging/imx-drm/ipu-v3/ipu-dmfc.c:164 ipu_dmfc_setup_channel() warn:
variable dereferenced before check 'dmfc' (see line 157)
Reported-by: Dan Carpenter dan.carpen...@oracle.com
Signed-off-by: