aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorYuan Can <[email protected]>2022-11-29 01:39:34 +0000
committerJakub Kicinski <[email protected]>2022-11-29 16:44:24 +0000
commit7a945ce0c19bbdf821d5f7ce1515e7fb8e444465 (patch)
treec73ac81f7f64668556960d25b6e4d2ea880d942a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentnfp: ethtool: support reporting link modes (diff)
downloadkernel-7a945ce0c19bbdf821d5f7ce1515e7fb8e444465.tar.gz
kernel-7a945ce0c19bbdf821d5f7ce1515e7fb8e444465.zip
udp_tunnel: Add checks for nla_nest_start() in __udp_tunnel_nic_dump_write()
As the nla_nest_start() may fail with NULL returned, the return value should be checked. Note that this is not a real bug, nothing will break here. The next nla_put() will fail as well and we'll bail (and nla_nest_cancel() can handle NULL). But we keep getting those "fixes" so whatever. Signed-off-by: Yuan Can <[email protected]> Reviewed-by: David Ahern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions