[patch] drm/bridge: checking the wrong variable

2015-01-28 Thread Daniel Kurtz
Hi Dan, nit: this patch is not really for "drm/bridge". On Wed, Jan 28, 2015 at 2:43 PM, Dan Carpenter wrote: > > We were supposed to check "fmts" here instead of "formats". I suppose > it eventually leads to a NULL dereference. > > Signed-off-by: Dan Carpenter > Otherwise, good catch! Revi

[patch] drm/bridge: checking the wrong variable

2015-01-28 Thread Dan Carpenter
We were supposed to check "fmts" here instead of "formats". I suppose it eventually leads to a NULL dereference. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 98fb640..8ae239f 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm

[patch] drm/bridge: checking the wrong variable

2015-01-28 Thread Thierry Reding
On Wed, Jan 28, 2015 at 02:46:46PM +0800, Daniel Kurtz wrote: > Hi Dan, > > nit: this patch is not really for "drm/bridge". > > On Wed, Jan 28, 2015 at 2:43 PM, Dan Carpenter > wrote: > > > > We were supposed to check "fmts" here instead of "formats". I suppose > > it eventually leads to a NUL