This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch devs/devilhorns/apos
in repository efl.
View the commit online.
commit a499213c05342ff96c9d4b548400d40979077783
Author: Christopher Michael <[email protected]>
AuthorDate: Mon Aug 25 09:11:13 2025 -0500
ecore_drm2: Fix issue of incorrectly checking the return value from DRM_IOCTL_MODE_CREATE_DUMB
---
src/lib/ecore_drm2/ecore_drm2_fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index c52752fc55..868736d68f 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -100,7 +100,7 @@ ecore_drm2_fb_create(Ecore_Drm2_Device *dev, int width, int height, int depth, i
carg.height = height;
ret = sym_drmIoctl(dev->fd, DRM_IOCTL_MODE_CREATE_DUMB, &carg);
- if (!ret) goto err;
+ if (ret) goto err;
fb->handles[0] = carg.handle;
fb->strides[0] = carg.pitch;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.