Re: [PATCH 1/2] drm/meson: Fix invalid pointer in meson_drv_unbind()

2019-03-25 Thread Neil Armstrong
On 22/03/2019 16:26, Jean-Philippe Brucker wrote: > meson_drv_bind() registers a meson_drm struct as the device's privdata, > but meson_drv_unbind() tries to retrieve a drm_device. This may cause a > segfault on shutdown: > > [ 5194.593429] Unable to handle kernel NULL pointer dereference at

[PATCH 1/2] drm/meson: Fix invalid pointer in meson_drv_unbind()

2019-03-24 Thread Jean-Philippe Brucker
meson_drv_bind() registers a meson_drm struct as the device's privdata, but meson_drv_unbind() tries to retrieve a drm_device. This may cause a segfault on shutdown: [ 5194.593429] Unable to handle kernel NULL pointer dereference at virtual address 0197 ... [ 5194.788850] Call

Re: [PATCH 1/2] drm/meson: Fix invalid pointer in meson_drv_unbind()

2019-03-23 Thread Neil Armstrong
Hi Jean-Philippe, Le 22/03/2019 16:26, Jean-Philippe Brucker a écrit : > meson_drv_bind() registers a meson_drm struct as the device's privdata, > but meson_drv_unbind() tries to retrieve a drm_device. This may cause a > segfault on shutdown: > > [ 5194.593429] Unable to handle kernel NULL