Re: [PATCH] drm/etnaviv: fix error code in event_alloc()

2023-07-19 Thread Lucas Stach
Hi Dan, Am Mittwoch, dem 19.07.2023 um 13:17 +0300 schrieb Dan Carpenter: > There are two "ret" variables declared in this function so setting > "ret = -EBUSY;" sets the wrong one. The function ends up returning an > uninitialized variable. > Thanks for the fix. Applied to the etnaviv/next

[PATCH] drm/etnaviv: fix error code in event_alloc()

2023-07-19 Thread Dan Carpenter
There are two "ret" variables declared in this function so setting "ret = -EBUSY;" sets the wrong one. The function ends up returning an uninitialized variable. Fixes: f098f9b8042a ("drm/etnaviv: move runtime PM handling to events") Signed-off-by: Dan Carpenter ---