You win some, you los some. The Linux 4.4 code is still sub-standard but
authorkettenis <kettenis@openbsd.org>
Fri, 7 Jul 2017 18:06:51 +0000 (18:06 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 7 Jul 2017 18:06:51 +0000 (18:06 +0000)
triggers different warnings now.

ok naddy@

sys/dev/pci/drm/drm_linux.h

index 4606944..099d471 100644 (file)
@@ -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