From patchwork Thu Nov 26 15:00:15 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: 11934205 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=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 1645DC63697 for ; Thu, 26 Nov 2020 15:01:49 +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 6EE78206D9 for ; Thu, 26 Nov 2020 15:01:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="N+NmP2n4"; 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="MsCriKm4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6EE78206D9 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-Transfer-Encoding: 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-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=zguV+BnZgX+6LfxWB6COrGOLu4lQSvZ6Yddj7K5nhew=; b=N+NmP2n4jrMaNoKCxsnikg8R3m h3LvGrtrqIjuFKn/8DuzDm3StES/w6d3JUZAdk+SSGGlbnAz1f+fg7aKO58plafdgotxKYBV3HcT+ Desrmuf0N4RM2Hnc6AvR9SThy5zDJODPZG+hySjHkG0txKsSy0JjMGmD7fVX2rkYc9V1jV+M4230h 3ieFX8ebd9EXgNUfXaajQB5ldQ34rOCw3NFJe7MbXBwH72/jjKSEf2f+Jc5hlafZd3AfaZ9IrVNKQ KOSMJ/dJMOgMG2Mdf3kI+9PONJpWwwykAYaybttYvUCRShnPIuCwf3IWfz8G3Mz7krbwmLPenEVk3 Q1gnA6pg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kiIkw-0007uq-SQ; Thu, 26 Nov 2020 15:00:22 +0000 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kiIkt-0007tt-Pe for linux-arm-kernel@lists.infradead.org; Thu, 26 Nov 2020 15:00:21 +0000 Received: by mail-qv1-xf35.google.com with SMTP id 62so1018163qva.11 for ; Thu, 26 Nov 2020 07:00:18 -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:date:message-id; bh=qfMwSqnk0RUEJvnAIRSVXuZ7QDhIr4/4UMmKVwRvU1s=; b=MsCriKm4FptOt1FtMaChBpj/3LGtglhTiAi4+O90pTWyO7QU81pjskN5J5AUFFLU16 B9xq2054vcAlSHOS+zicJOIArBVbEbzFvb2E3bSTDknXJOTza6hXen2fwFxjWZbE5QKK xONEokQ5akmBeY5hZTVcuekdXz/vWQ5LHR/h42pKclX8/uPq6+1AZQMZptpiG4vRIQcA e3ZBRm75Z0W7A2/2PzbRp/+Lv5zidqeujKel36qkvN83rZtSVKNUJkBcAEFExuD4O9Hp m+sHM4JEKyhXgmJSMgcPx8nlXCyHRU4RZsBj0X1I30TNRgPXUwyw4+wUQby8C91FE/P+ K1yg== 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:date :message-id; bh=qfMwSqnk0RUEJvnAIRSVXuZ7QDhIr4/4UMmKVwRvU1s=; b=BndeWcSPXg040deQRfijKs0sUU9AiPnXbQC4ZIGeXOA/y2iIkjEnc+9fac8rt6BqJK lyCASikO4LjdJgRWOnPqpgF2JSR24b9DVyvpT9vijwy+L1WktgPTNRcQw6mDqDcOAogU 127FyXf6K9385yfklH2oh8B37SESe3gKTDNp9EwD4rNs0I/I5X5bG5Fvn3chSpvIp4pV H9VasAyKegGW87sEe7RD2cuyYKFKmO3Kkz0v3LClSwcwQw6QR7XeiQAivKji1xF0nI0D jj5+S7Ujk9a7lOzuDGgVYq/ASnqrKXdE4hEbWfeS0sQCRoaKh5Z5SdDqCTuiIs0gX0rX QJUw== X-Gm-Message-State: AOAM532BUjTqSWlwwdJh0eV+xeTWTzF4Vpz/uvIIibvoVNsQGodYuDkg 4FYurMROQB7A9+5F4hMVOvTyUCB+5jCtcA== X-Google-Smtp-Source: ABdhPJzFBNneKrhNAMvfZ9IgrxaB93YuXHpdNG1lonKvRFRjgNA49RRp7Lll1CHE/AKh3hdTyi3X5A== X-Received: by 2002:a0c:fc52:: with SMTP id w18mr3578801qvp.48.1606402817425; Thu, 26 Nov 2020 07:00:17 -0800 (PST) Received: from turing-police ([2601:5c0:c380:d61::359]) by smtp.gmail.com with ESMTPSA id z20sm2978067qtb.31.2020.11.26.07.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 07:00:16 -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: Russell King - ARM Linux admin , Andrey Ryabinin Subject: [PATCH] kasan, mm: fix build issue with asmlinkage Mime-Version: 1.0 Date: Thu, 26 Nov 2020 10:00:15 -0500 Message-ID: <35126.1606402815@turing-police> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201126_100020_016092_89F313AC X-CRM114-Status: GOOD ( 11.37 ) 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 commit 2df573d2ca4c1ce6ea33cb7849222f771e759211 Author: Andrey Konovalov Date: Tue Nov 24 16:45:08 2020 +1100 kasan: shadow declarations only for software modes introduces a build failure when it removed an include for linux/pgtable.h It actually only needs linux/linkage.h Test builds on both x86_64 and arm build cleanly Fixes: 2df573d2ca4c ("kasan: shadow declarations only for software modes") Signed-off-by: Valdis Kletnieks Reviewed-by: Marco Elver Reviewed-by: Andrey Konovalov diff --git a/include/linux/kasan.h b/include/linux/kasan.h index 83860aa4e89c..5e0655fb2a6f 100644 --- a/include/linux/kasan.h +++ b/include/linux/kasan.h @@ -12,6 +12,7 @@ struct task_struct; #ifdef CONFIG_KASAN +#include #include /* kasan_data struct is used in KUnit tests for KASAN expected failures */