mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 06:04:44 +01:00
The logicvc_drm_config_parse() function calls of_get_child_by_name() to
find the "layers" node but fails to release the reference, leading to a
device node reference leak.
Fix this by using the __free(device_node) cleanup attribute to automatic
release the reference when the variable goes out of scope.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| logicvc_crtc.c | ||
| logicvc_crtc.h | ||
| logicvc_drm.c | ||
| logicvc_drm.h | ||
| logicvc_interface.c | ||
| logicvc_interface.h | ||
| logicvc_layer.c | ||
| logicvc_layer.h | ||
| logicvc_mode.c | ||
| logicvc_mode.h | ||
| logicvc_of.c | ||
| logicvc_of.h | ||
| logicvc_regs.h | ||
| Makefile | ||