aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2024-10-03 09:01:30 +0000
committerChanwoo Choi <[email protected]>2024-12-08 12:58:55 +0000
commited33fbb5d5536db77bd168e8fefde8dbc077cfd7 (patch)
tree98f4b156cc2a44c19cc1818093a8fbb2edc2d1e5 /net/unix/unix_bpf.c
parentLinux 6.13-rc1 (diff)
downloadkernel-ed33fbb5d5536db77bd168e8fefde8dbc077cfd7.tar.gz
kernel-ed33fbb5d5536db77bd168e8fefde8dbc077cfd7.zip
PM / devfreq: event: Call of_node_put() only once in devfreq_event_get_edev_by_phandle()
An of_node_put(node) call was immediately used after a null pointer check for the local variable “edev” at the end of this function implementation. Thus call such a function only once instead directly before the check. This issue was transformed by using the Coccinelle software. Link: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Markus Elfring <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions