Skip to content
Snippets Groups Projects
Natalie Vock's avatar
Natalie Vock authored
PRT BOs may not have any backing store, so bo->tbo.resource will be
NULL. Check for that before dereferencing.

Fixes: 0cce5f28 ("drm/amdkfd: Check correct memory types for is_system variable")
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarNatalie Vock <natalie.vock@gmx.de>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 3e3fcd29)
Cc: stable@vger.kernel.org # 6.12.x
6cc30748
History
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.