Skip to contentSkip to conversation

drm/nouveau/pmu: do not assume a PMU is present

stable 4.3 Ben Hutchings 1 participant 1 message Jan 1, 2016 Stable branch

lore
Share & tools
lore
#0 lore raw

Please pick this commit for 4.3-stable:

commit 579b7c58215329803ce184704463de09f0f310ac
Author: Alexandre Courbot <[email protected]>
Date:   Thu Sep 3 17:39:52 2015 +0900

    drm/nouveau/pmu: do not assume a PMU is present

    Some devices may not have a PMU. Avoid a NULL pointer dereference in such cases by checking whether the pointer given to nvkm_pmu_pgob() is valid.

Ben

Signature · 2 lines
Ben Hutchings
All the simple programs have been written, and all the good names taken.