git: drm: Fix drm_ioctl error return values.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Sat Oct 10 05:17:26 PDT 2015
commit b922632f623ee2cc2c1346bb3a6894a7756676aa
Author: Imre Vadász <imre at vdsz.com>
Date: Thu Oct 8 22:24:44 2015 +0200
drm: Fix drm_ioctl error return values.
Fixes some cases where we accidentally returned a negative value
from drm_ioctl().
Also this change converts the ERESTARTSYS error value to EINTR, before
returning it to userspace.
Summary of changes:
sys/dev/drm/drm_agpsupport.c | 32 ++++++++--------
sys/dev/drm/drm_bufs.c | 88 ++++++++++++++++++++++----------------------
sys/dev/drm/drm_dma.c | 4 +-
sys/dev/drm/drm_fops.c | 4 +-
sys/dev/drm/drm_ioctl.c | 34 +++++++++--------
sys/dev/drm/drm_irq.c | 2 +-
sys/dev/drm/drm_lock.c | 8 ++--
sys/dev/drm/drm_pci.c | 2 +-
sys/dev/drm/drm_scatter.c | 8 ++--
9 files changed, 94 insertions(+), 88 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b922632f623ee2cc2c1346bb3a6894a7756676aa
--
DragonFly BSD source repository
More information about the Commits
mailing list