> This path is technically executed through config/udev, but having two
> messages in the form "config/udev: Adding drm device" makes it appear as if
> the udev filters are wrong and it's trying to add the same device twice. In
> fact, it's only one device, only added once, but a duplicate log message.
>
> Signed-off-by: Peter Hutterer <[email protected]>

Seems sane,

Reviewed-by: Dave Airlie <[email protected]>
> ---
>  hw/xfree86/os-support/linux/lnx_platform.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/hw/xfree86/os-support/linux/lnx_platform.c 
> b/hw/xfree86/os-support/linux/lnx_platform.c
> index 444f8f5..9b92d0c 100644
> --- a/hw/xfree86/os-support/linux/lnx_platform.c
> +++ b/hw/xfree86/os-support/linux/lnx_platform.c
> @@ -140,8 +140,7 @@ xf86PlatformDeviceProbe(struct OdevAttributes *attribs)
>      if (i != xf86_num_platform_devices)
>          goto out_free;
>
> -    LogMessage(X_INFO, "config/udev: Adding drm device (%s)\n",
> -               path);
> +    LogMessage(X_INFO, "xfree86: Adding drm device (%s)\n", path);
>
>      ret = get_drm_info(attribs, path);
>      if (ret == FALSE)
> --
> 1.8.1.4
>
> _______________________________________________
> [email protected]: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to