From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) id 1i3Mw7-0007fL-Gs for ptxdist@pengutronix.de; Thu, 29 Aug 2019 18:06:12 +0200 Received: by mail-pg1-x541.google.com with SMTP id x15so1816273pgg.8 for ; Thu, 29 Aug 2019 09:06:11 -0700 (PDT) From: Sultan Alsawaf Date: Thu, 29 Aug 2019 09:05:51 -0700 Message-Id: <20190829160551.3291-1-sultan@kerneltoast.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] rt-tests: backfire: Don't include asm/uaccess.h directly List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" Cc: sultan@kerneltoast.com, ptxdist@pengutronix.de From: Sultan Alsawaf Architecture-specific uaccess.h headers can have dependencies on linux/uaccess.h (i.e., VERIFY_WRITE), so it cannot be included directly. Since linux/uaccess.h includes asm/uaccess.h, just do that instead. This fixes compile errors with certain kernels and architectures. Signed-off-by: Sultan Alsawaf --- src/backfire/backfire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backfire/backfire.c b/src/backfire/backfire.c index aaf9c4a..a8ac9f5 100644 --- a/src/backfire/backfire.c +++ b/src/backfire/backfire.c @@ -30,8 +30,8 @@ #include #include #include +#include -#include #include #define BACKFIRE_MINOR MISC_DYNAMIC_MINOR -- 2.23.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de