[PATCH libdrm 1/2] xf86drm: Fix indentation

Thierry Reding thierry.reding at gmail.com
Fri Dec 23 17:36:04 UTC 2016


From: Thierry Reding <treding at nvidia.com>

libdrm uses spaces for indentation. Fix the two inconsistent lines in
this file.

Signed-off-by: Thierry Reding <treding at nvidia.com>
---
 xf86drm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xf86drm.c b/xf86drm.c
index b5eeeb090ecb..ac59bf513d6c 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -2904,7 +2904,7 @@ static int drmParseSubsystemType(int maj, int min)
 
     return -EINVAL;
 #elif defined(__OpenBSD__)
-	return DRM_BUS_PCI;
+    return DRM_BUS_PCI;
 #else
 #warning "Missing implementation of drmParseSubsystemType"
     return -EINVAL;
@@ -3411,7 +3411,7 @@ int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device)
     closedir(sysdir);
     free(local_devices);
     if (*device == NULL)
-	return -ENODEV;
+        return -ENODEV;
     return 0;
 
 free_devices:
-- 
2.11.0



More information about the dri-devel mailing list