From patchwork Thu Nov 26 13:25:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Valdis_Kl=C4=93tnieks?= X-Patchwork-Id: 11933725 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=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 12E92C56202 for ; Thu, 26 Nov 2020 13:28:51 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 977F421D1A for ; Thu, 26 Nov 2020 13:28:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gE3WhC7k"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=vt-edu.20150623.gappssmtp.com header.i=@vt-edu.20150623.gappssmtp.com header.b="NAQ/wmKB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 977F421D1A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Message-ID:Date:Mime-Version:Subject:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=C9qK5xdyIa8iuUoFBCWTajZUnR/A56ApEKMdhC9K0Zk=; b=gE3 WhC7kI1X3FgKsbHjAbds9FvorZ5Hb2qMbf0RSBdl2J/UtOstYLl7lTgagvieSvgTSiVWnGowniXQp 1VBlSH1YLenzp6nC2FsQAqYW6AOM4gtDtPSOasDwvxWqwFIpqs32H4pOiXXAIQf8RDRP5yzh/mt+m E/NeSkaT0c7zEA7cqGB+dYCT3VjF3e4L/hFHpO2rf1vhm05vG5DVQcgvjpQVdDITh/Mv5eNHj8qu8 Jm+oPuxCGvpBgtpUchskUDO/KULgBZz8va1yL5hw7kPF3JRfHQOTmQPd+wi/zQTCl/xj5Zns9IObG dC7GnP7iovhLB9+ckUnPnHT6J1N/aMQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kiHIT-00070R-6M; Thu, 26 Nov 2020 13:26:55 +0000 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kiHGs-0006Ou-Ta for linux-arm-kernel@lists.infradead.org; Thu, 26 Nov 2020 13:25:20 +0000 Received: by mail-qv1-xf2d.google.com with SMTP id ec16so918667qvb.0 for ; Thu, 26 Nov 2020 05:25:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vt-edu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:mime-version:content-transfer-encoding :date:message-id; bh=MNcQv1d1aoirYTMBX9DjnG1i0iErg2wQNhH4EnUPrCs=; b=NAQ/wmKBSatGWRRjdbdgE5ILpOl5Jib+Aipexo3Gurn8R43lHXaJkv5TJWRYlfDUJf tXRakTkh1cM7iHM7sxYWLQ7hnBow14LSPbPVets73zmqo+uSJOfkD8JeOgRr76VRe4I/ JLpcQUFqGDb+yl1Hy6ps2M2Iv/aoZ2h4zXKP22lqQhtwPFedWI8pUG4WEdk5WvXK/6eS VLCoIrFZL+Tc4ncCrZWb6ZGR84NIf1URBOscpxH+mbBUFXKN5BP07hsxCV1GCYSBIr00 7ivbsuVesLW0pH+D7vozi+7UNg36yvRqqtZuBafuTulbr3hEiNYmSAFp+C/almaJ0q/o fhVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:mime-version :content-transfer-encoding:date:message-id; bh=MNcQv1d1aoirYTMBX9DjnG1i0iErg2wQNhH4EnUPrCs=; b=j1ADGPRgG6267Fa/09PTBBawsW3zTOuHWA7yDnqaSmW0KUsJ8jzL3hgbh31ZeKEb6u /5AiJrSOc4/xMV+m1hWLuD+SdIkScLeRkzxqPhtO49dONBogbMPdBD4abgHcaOGUFout 1Udsxvv5+OT7ElfdeXG1U20f89Vneuy7x+BSpPNZs4zThaBSxJpqxXRC6zPv5WlC1vYT 54tQHTynbDgR3SDAXrcgURUzwGeaboE8CbHzBLfeg3Myrn/bFCGfyjXgfEQHME02pXSY ZUWY5CZda49Z0ZHjn6rQhliTHydFCPLAEE0bivgmaTG5CXCrGY+cV9gRbtzXH5av/s+A Ov0w== X-Gm-Message-State: AOAM531tyED2L46d24q6/ji6hQirKMG6YjWyX21gSqzi4nUucvF8TFOv Rg/UNkXpZF1qZA1e/r7qwsMHtg== X-Google-Smtp-Source: ABdhPJwL2F5X0wRb3VCf0Wov84+VQqd/IP4+aAKP2Y5/xFxhIr5YBWsz4vDmAzdbLll9UQe4Ts57pA== X-Received: by 2002:ad4:4743:: with SMTP id c3mr3126157qvx.31.1606397105649; Thu, 26 Nov 2020 05:25:05 -0800 (PST) Received: from turing-police ([2601:5c0:c380:d61::359]) by smtp.gmail.com with ESMTPSA id t133sm2418736qke.82.2020.11.26.05.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:25:03 -0800 (PST) From: "Valdis =?utf-8?q?Kl=C4=93tnieks?= " X-Google-Original-From: "Valdis =?utf-8?q?Kl=C4=93tnieks?= " X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Andrey Ryabinin Subject: linux-next 20201126 - build error on arm allmodconfig Mime-Version: 1.0 Date: Thu, 26 Nov 2020 08:25:02 -0500 Message-ID: <24105.1606397102@turing-police> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201126_082515_134829_7CE6DF6C X-CRM114-Status: GOOD ( 13.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Seems something is giving it indigestion regarding asmlinkage... CC arch/arm/mm/kasan_init.o In file included from ./include/linux/kasan.h:15, from arch/arm/mm/kasan_init.c:11: ./arch/arm/include/asm/kasan.h:26:11: error: expected ';' before 'void' asmlinkage void kasan_early_init(void); ^~~~~ ; make[2]: *** [scripts/Makefile.build:283: arch/arm/mm/kasan_init.o] Error 1 make[1]: *** [scripts/Makefile.build:500: arch/arm/mm] Error 2 make: *** [Makefile:1803: arch/arm] Error 2 Git bisect points at: commit 2df573d2ca4c1ce6ea33cb7849222f771e759211 Author: Andrey Konovalov Date: Tue Nov 24 16:45:08 2020 +1100 kasan: shadow declarations only for software modes Looks like it's this chunk: but it's not obvious why putting that back makes 'asmlinkage' recognized. "You are in a twisty little maze of #includes, all different"... :) diff --git a/include/linux/kasan.h b/include/linux/kasan.h index 59538e795df4..26f2ab92e7ca 100644 --- a/include/linux/kasan.h +++ b/include/linux/kasan.h @@ -11,7 +11,6 @@ struct task_struct; #ifdef CONFIG_KASAN -#include #include Testing shows putting that #include back in makes it compile correctly,