summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2022-03-07 10:41:48 +0100
committerDan Williams <dan.j.williams@intel.com>2022-03-22 18:51:17 +0100
commit05e815539f3f161585c13a9ab023341bade2c52f (patch)
treea7e4119704ac9252cdab35bc345bf1f40193c18f /lib/Kconfig.debug
parentcxl/port: Hold port reference until decoder release (diff)
downloadlinux-05e815539f3f161585c13a9ab023341bade2c52f.tar.xz
linux-05e815539f3f161585c13a9ab023341bade2c52f.zip
cxl/core/port: Fix NULL but dereferenced coccicheck error
Fix the following coccicheck warning: ./drivers/cxl/core/port.c:913:21-24: ERROR: port is NULL but dereferenced. The put_device() is only relevent in the is_cxl_root() case. Fixes: 2703c16c75ae ("cxl/core/port: Add switch port enumeration") Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Link: https://lore.kernel.org/r/20220307094158.404882-1-wanjiabing@vivo.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions