summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-01-28 14:39:26 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-28 15:39:07 +0100
commit1fee3ce1d370df79bc4425931368cf6e7487d9c5 (patch)
tree56776745bd592aa734f13b9f591ea18d4cfcd478 /include/linux/debugobjects.h
parentb5145d8bffbe69fbbaac3b698782da6e1307948e (diff)
drm/nouveau/disp/nv50-: prevent oops when no channel method map provided
[ Upstream commit 0e6176c6d286316e9431b4f695940cfac4ffe6c2 ] The implementations for most channel types contains a map of methods to priv registers in order to provide debugging info when a disp exception has been raised. This info is missing from the implementation of PIO channels as they're rather simplistic already, however, if an exception is raised by one of them, we'd end up triggering a NULL-pointer deref. Not ideal... Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=206299 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions