aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2023-04-13 15:00:11 +0000
committerJakub Kicinski <[email protected]>2025-03-05 01:19:49 +0000
commit859abe3f92d7b3e47264e26f77e53dee651a24b7 (patch)
tree4f65b2d75f01c6f6748503c71ace885579b2f676 /drivers/gpu/drm/omapdrm/omap_gem.c
parentselftests: drv-net: use env.rpath in the HDS test (diff)
downloadkernel-859abe3f92d7b3e47264e26f77e53dee651a24b7.tar.gz
kernel-859abe3f92d7b3e47264e26f77e53dee651a24b7.zip
tipc: Reduce scope for the variable “fdefq” in tipc_link_tnl_prepare()
The address of a data structure member was determined before a corresponding null pointer check in the implementation of the function “tipc_link_tnl_prepare”. Thus avoid the risk for undefined behaviour by moving the definition for the local variable “fdefq” into an if branch at the end. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions