From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF115C4363A for ; Tue, 27 Oct 2020 18:22:52 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F0E3C206E5 for ; Tue, 27 Oct 2020 18:22:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F0E3C206E5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6386F6B005C; Tue, 27 Oct 2020 14:22:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5E9CF6B005D; Tue, 27 Oct 2020 14:22:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4D87B6B0062; Tue, 27 Oct 2020 14:22:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0119.hostedemail.com [216.40.44.119]) by kanga.kvack.org (Postfix) with ESMTP id 1B44A6B005C for ; Tue, 27 Oct 2020 14:22:51 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 9E2D5181AC9BF for ; Tue, 27 Oct 2020 18:22:50 +0000 (UTC) X-FDA: 77418526500.27.net49_6305ad92727e Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin27.hostedemail.com (Postfix) with ESMTP id 74BDD3D669 for ; Tue, 27 Oct 2020 18:22:50 +0000 (UTC) X-HE-Tag: net49_6305ad92727e X-Filterd-Recvd-Size: 2342 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [195.130.132.51]) by imf11.hostedemail.com (Postfix) with ESMTP for ; Tue, 27 Oct 2020 18:22:49 +0000 (UTC) Received: from ramsan.of.borg ([84.195.186.194]) by baptiste.telenet-ops.be with bizsmtp id l6Nn2300G4C55Sk016NnPV; Tue, 27 Oct 2020 19:22:48 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kXTcN-000eE4-HB; Tue, 27 Oct 2020 19:22:47 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1kXTcM-002jbP-SL; Tue, 27 Oct 2020 19:22:46 +0100 From: Geert Uytterhoeven To: Jens Axboe , Linus Torvalds Cc: Al Viro , Christoph Hellwig , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm/process_vm_access: Add missing #include Date: Tue, 27 Oct 2020 19:22:46 +0100 Message-Id: <20201027182246.651908-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: With e.g. m68k/defconfig: mm/process_vm_access.c: In function =E2=80=98process_vm_rw=E2=80=99: mm/process_vm_access.c:277:5: error: implicit declaration of function= =E2=80=98in_compat_syscall=E2=80=99 [-Werror=3Dimplicit-function-declara= tion] 277 | in_compat_syscall()); | ^~~~~~~~~~~~~~~~~ Fix this by adding #include . Reported-by: noreply@ellerman.id.au Fixes: 38dc5079da7081e8 ("Fix compat regression in process_vm_rw()") Signed-off-by: Geert Uytterhoeven --- mm/process_vm_access.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/process_vm_access.c b/mm/process_vm_access.c index 05676722d9cd6afb..702250f148e73adc 100644 --- a/mm/process_vm_access.c +++ b/mm/process_vm_access.c @@ -5,6 +5,7 @@ * Copyright (C) 2010-2011 Christopher Yeoh , IBM Cor= p. */ =20 +#include #include #include #include --=20 2.25.1