* [PULL] drm: atmel-hlcdc: fixes for 4.7-rc2
@ 2016-06-01 12:23 Boris Brezillon
2016-06-01 13:52 ` Boris Brezillon
0 siblings, 1 reply; 2+ messages in thread
From: Boris Brezillon @ 2016-06-01 12:23 UTC (permalink / raw)
To: linux-arm-kernel
Hi Dave,
This pull request contains 2 trivial fixes for the atmel-hlcdc driver.
The first one is making use of __drm_atomic_helper_crtc_destroy_state()
instead of duplicating its logic in atmel_hlcdc_crtc_reset() and
risking memory leaks if other objects are added to the common CRTC
state.
The second one is fixing a possible NULL pointer dereference.
Regards,
Boris
The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
are available in the git repository at:
git at github.com:bbrezillon/linux-at91.git tags/drm-atmel-hlcdc-fixes/for-4.7-rc2
for you to fetch changes up to dcd64e313ff2d2a15574cd92ec27e73194ba7537:
drm: atmel-hlcdc: fix a NULL check (2016-06-01 13:36:26 +0200)
----------------------------------------------------------------
Two trivial bugfixes on the atmel-hlcdc driver for 4.7-rc2.
The first one is making use of __drm_atomic_helper_crtc_destroy_state()
instead of duplicating its logic in atmel_hlcdc_crtc_reset() and
risking memory leaks if other objects are added to the common CRTC
state.
The second one is fixing a possible NULL pointer dereference.
----------------------------------------------------------------
Boris Brezillon (1):
drm: atmel-hlcdc: fix atmel_hlcdc_crtc_reset() implementation
Dan Carpenter (1):
drm: atmel-hlcdc: fix a NULL check
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread* [PULL] drm: atmel-hlcdc: fixes for 4.7-rc2
2016-06-01 12:23 [PULL] drm: atmel-hlcdc: fixes for 4.7-rc2 Boris Brezillon
@ 2016-06-01 13:52 ` Boris Brezillon
0 siblings, 0 replies; 2+ messages in thread
From: Boris Brezillon @ 2016-06-01 13:52 UTC (permalink / raw)
To: linux-arm-kernel
Hi Dave,
On Wed, 1 Jun 2016 14:23:27 +0200
Boris Brezillon <boris.brezillon@free-electrons.com> wrote:
> Hi Dave,
>
> This pull request contains 2 trivial fixes for the atmel-hlcdc driver.
Please ignore this PR. The __drm_atomic_helper_crtc_destroy_state()
prototype has changed between my submission and the 4.7-rc1 release and
it no longer compiles.
Sorry for the inconvenience.
Regards,
Boris
>
> The first one is making use of __drm_atomic_helper_crtc_destroy_state()
> instead of duplicating its logic in atmel_hlcdc_crtc_reset() and
> risking memory leaks if other objects are added to the common CRTC
> state.
>
> The second one is fixing a possible NULL pointer dereference.
>
> Regards,
>
> Boris
>
> The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
>
> Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
>
> are available in the git repository at:
>
> git at github.com:bbrezillon/linux-at91.git tags/drm-atmel-hlcdc-fixes/for-4.7-rc2
>
> for you to fetch changes up to dcd64e313ff2d2a15574cd92ec27e73194ba7537:
>
> drm: atmel-hlcdc: fix a NULL check (2016-06-01 13:36:26 +0200)
>
> ----------------------------------------------------------------
> Two trivial bugfixes on the atmel-hlcdc driver for 4.7-rc2.
>
> The first one is making use of __drm_atomic_helper_crtc_destroy_state()
> instead of duplicating its logic in atmel_hlcdc_crtc_reset() and
> risking memory leaks if other objects are added to the common CRTC
> state.
>
> The second one is fixing a possible NULL pointer dereference.
>
> ----------------------------------------------------------------
> Boris Brezillon (1):
> drm: atmel-hlcdc: fix atmel_hlcdc_crtc_reset() implementation
>
> Dan Carpenter (1):
> drm: atmel-hlcdc: fix a NULL check
>
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
>
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-01 13:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-01 12:23 [PULL] drm: atmel-hlcdc: fixes for 4.7-rc2 Boris Brezillon
2016-06-01 13:52 ` Boris Brezillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).