diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2023-12-26 16:30:25 +0100 |
---|---|---|
committer | Luben Tuikov <ltuikov89@gmail.com> | 2024-01-07 22:37:25 -0500 |
commit | 3bb45618061c0e1838e99ad246d7342727396451 (patch) | |
tree | ce9fd2efe3154d876b25eefa6a1d1672518a0942 /drivers/phy/phy-lgm-usb.c | |
parent | 5343f29b3dc534be01b45cd3a3e43572996f96f8 (diff) |
drm/sched: One function call less in drm_sched_init() after error detection
The kfree() function was called in one case by the
drm_sched_init() function during error handling
even if the passed data structure member contained a null pointer.
This issue was detected by using the Coccinelle software.
Thus adjust a jump target.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: https://patchwork.freedesktop.org/patch/msgid/85066512-983d-480c-a44d-32405ab1b80e@web.de
Reviewed-by: Luben Tuikov <ltuikov89@gmail.com>
Signed-off-by: Luben Tuikov <ltuikov89@gmail.com>
Diffstat (limited to 'drivers/phy/phy-lgm-usb.c')
0 files changed, 0 insertions, 0 deletions