xf86drm: Fix indentation
libdrm uses spaces for indentation. Fix the two inconsistent lines in this file. Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>main
parent
eebefaf72c
commit
e17cad1994
|
@ -2908,7 +2908,7 @@ static int drmParseSubsystemType(int maj, int min)
|
||||||
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
#elif defined(__OpenBSD__)
|
#elif defined(__OpenBSD__)
|
||||||
return DRM_BUS_PCI;
|
return DRM_BUS_PCI;
|
||||||
#else
|
#else
|
||||||
#warning "Missing implementation of drmParseSubsystemType"
|
#warning "Missing implementation of drmParseSubsystemType"
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
@ -3419,7 +3419,7 @@ int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device)
|
||||||
closedir(sysdir);
|
closedir(sysdir);
|
||||||
free(local_devices);
|
free(local_devices);
|
||||||
if (*device == NULL)
|
if (*device == NULL)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
free_devices:
|
free_devices:
|
||||||
|
|
Loading…
Reference in New Issue