diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-12-03 20:35:23 +0300 |
|---|---|---|
| committer | Maxime Ripard <mripard@kernel.org> | 2025-12-05 10:07:58 +0100 |
| commit | 479acb9db3199cdb70e5478a6f633b5f20c7d8df (patch) | |
| tree | 2040a814ccb4974d9ae3d3a3106f9b3126f07f7a /scripts/lib/kdoc/kdoc_parser.py | |
| parent | 35e282c1868de3c9d15f9a8812cbb2e7da06b0c1 (diff) | |
drm/plane: Fix IS_ERR() vs NULL check in drm_plane_create_hotspot_properties()
The drm_property_create_signed_range() function doesn't return error
pointers it returns NULL on error. Fix the error checking to match.
Fixes: 8f7179a1027d ("drm/atomic: Add support for mouse hotspots")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://patch.msgid.link/aTB023cfcIPkCsFS@stanley.mountain
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
