summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-07-20 01:48:34 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2024-11-03 01:28:07 -0500
commit66635b0776243ff567db08601546b7f26b67dd08 (patch)
tree9f7c80007c9a47864612edb5dacd84ce3eb7d8c9 /sound
parent89359897983825dbfc08578e7ee807aaf24d9911 (diff)
downloadlinux-66635b0776243ff567db08601546b7f26b67dd08.tar.gz
linux-66635b0776243ff567db08601546b7f26b67dd08.tar.bz2
linux-66635b0776243ff567db08601546b7f26b67dd08.zip
assorted variants of irqfd setup: convert to CLASS(fd)
in all of those failure exits prior to fdget() are plain returns and the only thing done after fdput() is (on failure exits) a kfree(), which can be done before fdput() just fine. NOTE: in acrn_irqfd_assign() 'fail:' failure exit is wrong for eventfd_ctx_fileget() failure (we only want fdput() there) and once we stop doing that, it doesn't need to check if eventfd is NULL or ERR_PTR(...) there. NOTE: in privcmd we move fdget() up before the allocation - more to the point, before the copy_from_user() attempt. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions