On Sun, Dec 27, 2020 at 3:56 PM Defang Bo wrote:
>
> [Why]
> Similar to commit<0fa375e6>. If the set_state/can_switch code access the
> drm_device when dev is not bound,
> a null pointer dereference can happen.
>
> [How]
> Add sanity checks to prevent it.
>
> Signed-off-by: Defang Bo
Are you ac
[Why]
Similar to commit<0fa375e6>. If the set_state/can_switch code access the
drm_device when dev is not bound,
a null pointer dereference can happen.
[How]
Add sanity checks to prevent it.
Signed-off-by: Defang Bo
---
drivers/gpu/drm/radeon/radeon_device.c | 6 ++
1 file changed, 6 inser
2 matches
Mail list logo