diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2020-03-19 17:29:30 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2020-03-30 12:20:41 +0100 |
commit | 2bf99b22beff545d360fb0cc3a977add147713b6 (patch) | |
tree | 71f0ea88bbd0cf52e16caea5aa29b93e92e735dc /drivers/w1/masters/matrox_w1.c | |
parent | 45bc3d26c95a8fc63a7d8668ca9e57ef0883351c (diff) |
drm: error out with EBUSY when device has existing master
As requested by Adam, provide different error message for when the
device has an existing master. An audit of the following projects, shows
that the errno is used only for printf() purposes.
xorg/xserver
xorg/drivers/xf86-video-ati
xorg/drivers/xf86-video-amdgpu
xorg/drivers/xf86-video-intel
xorg/drivers/xf86-video-tegra
xorg/drivers/xf86-video-freedreno
xorg/drivers/xf86-video-nouveau
xorg/drivers/xf86-video-vmwgfx
qt/kwin/plasma
gtk/mutter/gnomeshell
efl/enlightment
Cc: Adam Jackson <ajax@redhat.com>
Suggested-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200319172930.230583-2-emil.l.velikov@gmail.com
Diffstat (limited to 'drivers/w1/masters/matrox_w1.c')
0 files changed, 0 insertions, 0 deletions