Re: [PATCH] drm/omapdrm: fix warning PTR_ERR_OR_ZERO can be used

2019-05-25 Thread Matteo Croce
On Sat, May 25, 2019 at 9:30 AM Hariprasad Kelam wrote: > > fix below warnings reported by coccicheck > Hi, a similar patch was nacked because it makes backports more difficult: https://lore.kernel.org/lkml/3dec4093-824e-b13d-d712-2dedd445a...@ti.com/ Tomi, what's your thought? -

Re: [PATCH -next] drm/omap: Use PTR_ERR_OR_ZERO in hdmi4_core_init()

2019-03-28 Thread Matteo Croce
On Fri, Mar 29, 2019 at 2:30 AM YueHaibing wrote: > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Signed-off-by: YueHaibing > --- > drivers/gpu/drm/omapdrm/dss/hdmi4_core.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > Acked-by: Matteo

[PATCH] drm/omap: fix typo

2019-01-07 Thread Matteo Croce
Fix spelling mistake: "lenght" -> "length" Signed-off-by: Matteo Croce --- drivers/gpu/drm/omapdrm/dss/hdmi4_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi4_core.c b/drivers/gpu/drm/omapdrm/dss/hdmi4_co

[PATCH] drm/amd: fix typo

2019-01-07 Thread Matteo Croce
Fix spelling mistake: "lenght" -> "length" Signed-off-by: Matteo Croce --- drivers/gpu/drm/amd/include/atombios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h index 793

Re: [PATCH 05/12] gpu: fix typo

2019-01-04 Thread Matteo Croce
On Fri, Jan 4, 2019 at 10:41 PM Matteo Croce wrote: > > Fix spelling mistake: "lenght" -> "length" > > Signed-off-by: Matteo Croce > --- > drivers/gpu/drm/amd/include/atombios.h | 2 +- > drivers/gpu/drm/omapdrm/dss/hdmi4_core.c | 2 +- > 2 files

[PATCH] omapfb: fix typo

2019-01-04 Thread Matteo Croce
Fix spelling mistake: "lenght" -> "length" Signed-off-by: Matteo Croce --- drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c b/drivers/video/fbdev/omap2/

[PATCH 05/12] gpu: fix typo

2019-01-04 Thread Matteo Croce
Fix spelling mistake: "lenght" -> "length" Signed-off-by: Matteo Croce --- drivers/gpu/drm/amd/include/atombios.h | 2 +- drivers/gpu/drm/omapdrm/dss/hdmi4_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/include/atombi