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=-21.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,URIBL_RED 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 39705C433E0 for ; Sat, 9 Jan 2021 22:34:15 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9EB5E23718 for ; Sat, 9 Jan 2021 22:34:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9EB5E23718 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B43FC8D000F; Sat, 9 Jan 2021 17:34:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id AF33A8D0002; Sat, 9 Jan 2021 17:34:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9E16D8D000F; Sat, 9 Jan 2021 17:34:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0236.hostedemail.com [216.40.44.236]) by kanga.kvack.org (Postfix) with ESMTP id 89AAD8D0002 for ; Sat, 9 Jan 2021 17:34:13 -0500 (EST) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 4070D363E for ; Sat, 9 Jan 2021 22:34:13 +0000 (UTC) X-FDA: 77687691186.07.peace09_0504090274ff Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin07.hostedemail.com (Postfix) with ESMTP id 218151803F9AE for ; Sat, 9 Jan 2021 22:34:13 +0000 (UTC) X-HE-Tag: peace09_0504090274ff X-Filterd-Recvd-Size: 3656 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf01.hostedemail.com (Postfix) with ESMTP for ; Sat, 9 Jan 2021 22:34:12 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 4D729236F9; Sat, 9 Jan 2021 22:34:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1610231651; bh=xK4aL4UFZkf+Rlc/E3V46Y+EN/9IVgasA9Hp0Txr0HI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=c/FYC6TWuhwL3TCBblORLWBZC/WQURiD4kQv0hQR5atcRQTmD9pP64hIleoWhy7v7 TviTQUmPN0uWQ4h3fw3cbwKwMxgjGWq8rAti7reeRABaH0e0xuZbiQX5yEq3Krj/wY osXxhn3hd5F7SrTzvBAgscfUlb+KHO7tTZ9TYY3Q= Date: Sat, 9 Jan 2021 14:34:10 -0800 From: Andrew Morton To: Dmitry Vyukov Cc: syzbot , LKML , Linux-MM , syzkaller-bugs Subject: Re: upstream build error (11) Message-Id: <20210109143410.eed9923407f73c00535bb450@linux-foundation.org> In-Reply-To: References: <0000000000001bc23b05b2b6fd8a@google.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: On Sat, 9 Jan 2021 21:41:23 +0100 Dmitry Vyukov wrote: > On Wed, Oct 28, 2020 at 9:31 AM syzbot > wrote: > > > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit: 4d09c1d9 Merge tag 'devicetree-fixes-for-5.10-1' of git://.. > > git tree: upstream > > console output: https://syzkaller.appspot.com/x/log.txt?x=1615899c500000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=a5c844e56cc50cdb > > dashboard link: https://syzkaller.appspot.com/bug?extid=5b0d0de84d6c65b8dd2b > > compiler: gcc (GCC) 10.1.0-syz 20200507 > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > Reported-by: syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com > > > > mm/process_vm_access.c:277:5: error: implicit declaration of function 'in_compat_syscall'; did you mean 'in_ia32_syscall'? [-Werror=implicit-function-declaration] > > Other build failures are piling behind this. > > #syz fix: mm/process_vm_access: Add missing #include For some reason I cant reproduce this with that .config, but presumably this is the fix? From: Andrew Morton Subject: mm/process_vm_access.c: include compat.h mm/process_vm_access.c:277:5: error: implicit declaration of function 'in_compat_syscall'; did you mean 'in_ia32_syscall'? [-Werror=implicit-function-declaration] Fixes: 38dc5079da7081e "Fix compat regression in process_vm_rw()" Reported-by: syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com Cc: Kyle Huey Cc: Jens Axboe Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton --- mm/process_vm_access.c | 1 + 1 file changed, 1 insertion(+) --- a/mm/process_vm_access.c~a +++ a/mm/process_vm_access.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include _