From f1485c8720e031c4e996fb1380baff619fd1b515 Mon Sep 17 00:00:00 2001 From: kettenis Date: Fri, 7 Jul 2017 18:06:51 +0000 Subject: [PATCH] You win some, you los some. The Linux 4.4 code is still sub-standard but triggers different warnings now. ok naddy@ --- sys/dev/pci/drm/drm_linux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/drm/drm_linux.h b/sys/dev/pci/drm/drm_linux.h index 46069445fc7..099d4710788 100644 --- a/sys/dev/pci/drm/drm_linux.h +++ b/sys/dev/pci/drm/drm_linux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_linux.h,v 1.53 2017/07/05 20:30:13 kettenis Exp $ */ +/* $OpenBSD: drm_linux.h,v 1.54 2017/07/07 18:06:51 kettenis Exp $ */ /* * Copyright (c) 2013, 2014, 2015 Mark Kettenis * @@ -45,7 +45,7 @@ #ifdef __clang__ #pragma clang diagnostic ignored "-Wenum-conversion" #pragma clang diagnostic ignored "-Winitializer-overrides" -#pragma clang diagnostic ignored "-Wtautological-pointer-compare" +#pragma clang diagnostic ignored "-Wtautological-compare" #pragma clang diagnostic ignored "-Wunneeded-internal-declaration" #pragma clang diagnostic ignored "-Wunused-const-variable" #endif -- 2.20.1