aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorUmang Jain <[email protected]>2023-10-18 05:52:28 +0000
committerGreg Kroah-Hartman <[email protected]>2023-10-21 09:55:23 +0000
commit75fd2810b08a4854af3928121a301e50376288d2 (patch)
tree8dcddd4c1bbfb9d06dceff4304b5e31b11d83098 /scripts/mod/file2alias.c
parentstaging: qlge: Retire the driver (diff)
downloadkernel-75fd2810b08a4854af3928121a301e50376288d2.tar.gz
kernel-75fd2810b08a4854af3928121a301e50376288d2.zip
staging: vc04_services: vchiq_bus: Do not kfree device
As per device_register() documentation, this kfree() on error path will crash. The call to put_device() is all that is needed here to free the memory. Fixes: 027e5703de6b ("staging: vc04_services: vchiq_arm: Add new bus type and device type") Signed-off-by: Umang Jain <[email protected]> Reviewed-by: Stefan Wahren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions