From patchwork Tue Oct 27 18:22:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 11861305 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2AD886A2 for ; Tue, 27 Oct 2020 18:22:53 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5FF6720732 for ; Tue, 27 Oct 2020 18:22:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5FF6720732 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) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 5E9CF6B005D; Tue, 27 Oct 2020 14:22:51 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org 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-Original-To: linux-mm@kvack.org 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-Spam-Summary: 1,0,0,61cbc9d0e3885d3b,d41d8cd98f00b204,geert@linux-m68k.org,,RULES_HIT:41:152:355:379:541:800:960:973:988:989:1260:1261:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1540:1568:1593:1594:1711:1714:1730:1747:1777:1792:2393:2538:2559:2562:3138:3139:3140:3141:3142:3866:3870:4321:4605:5007:6261:7903:10004:10400:11026:11658:11914:12043:12297:12517:12519:12555:12679:12895:12986:13069:13221:13229:13311:13357:13894:14181:14394:14659:14721:21080:21433:21451:21627:30054:30067,0,RBL:195.130.132.51:@linux-m68k.org:.lbl8.mailshell.net-64.201.201.201 62.14.39.100;04y81jjbx6x5yh8uqwsam5fu7mft8ypof1ot8h9sg1nu9icgqku374b7gscuq4n.zmid1b6mt8176cjundqst99ftc8mstj4o43gr6u5dhwc4z6gyx53jseirh3p3ty.6-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:27,LUA_SUMMARY:none 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 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 ‘process_vm_rw’: mm/process_vm_access.c:277:5: error: implicit declaration of function ‘in_compat_syscall’ [-Werror=implicit-function-declaration] 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 Acked-by: Jens Axboe --- 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 Corp. */ +#include #include #include #include