Message ID | 20230920052139.10570-8-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4152140vqi; Wed, 20 Sep 2023 06:46:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTSNEV74D4SiwlQSm5uWwhsTnllyl74tnQM44cRNldyKZGFy+HNtytUNRTrEZ7AQjyNO9p X-Received: by 2002:a17:90b:1058:b0:268:15dd:c5c7 with SMTP id gq24-20020a17090b105800b0026815ddc5c7mr2385429pjb.40.1695217616977; Wed, 20 Sep 2023 06:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695217616; cv=none; d=google.com; s=arc-20160816; b=rATCPzD4tCN+Ewuip8rSOKFCkjh+pY3GOo7utwQ6Jra3J0KE4HwH5nOVaiFQJxYANf nMP+GREScccYMOEjDwYqkrTHAXMbqaEv+sK9kMR3fU712giSAVal3vo+y2XtjQwB0fI4 M+RXuPO7X5A3DA1e0pDR1mGMvIgvCkTR+nCoLDw9cQaEIsE4zXLEQvs5oeu5eiA7PF90 n6Ci0EWIHHKWyTpP5DcLivraYnVazKeEuBudMZpnMQuTjUcLTA4BSxB9utO11pCSW5zx 3M3TSBYVQbfzHQEX69PClE5agZg97DDFZ8ju1gx4b2WCy+SWgUZFrnv6HbGTMByZrSRJ aRrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OX+5DgL5L+DB7XZdBwxF1pwtxEcW3b8yHimwNmQkOpo=; fh=6/+MrGEwXu3chX+JgIyVPR9luFinEXEbVHdRWlFWSv8=; b=P8oLZ6OTwl6sVhMIdlkN40sOE/vqDn1MfKZ87T2R7BcftCgihnk33Ku56zvsdFp2Kp 1/81FjW5BztBOAj963N2cHcgXhV9zJwftaiA8uNRSEe3OJ1db3DT6KoCMzYbnSqAqku+ NIhXZWaCH7TULg7SaFMoCAd1H0c4GJ5xQzuuriOXEXxmQAQlegsm+CwAtyVcNyPgtROu x1MkRBaqNVYBtV2erZK3V/yP8suDGFYnItf0eWGFxLmwliv1mGzYmyL4BiiomKVQ7lQg D55fWLwdB6i2vuGVtlceNDxrkpJT4Cj3FH1eiHbubQzthDqkl6tkVsToEQWocccaj5iX ezvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ARBb1QXs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id om4-20020a17090b3a8400b0027652885184si1690276pjb.91.2023.09.20.06.46.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 06:46:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ARBb1QXs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 86F9882878DC; Tue, 19 Sep 2023 22:22:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232708AbjITFWW (ORCPT <rfc822;toshivichauhan@gmail.com> + 26 others); Wed, 20 Sep 2023 01:22:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232477AbjITFVu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 20 Sep 2023 01:21:50 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A6BCDE for <linux-kernel@vger.kernel.org>; Tue, 19 Sep 2023 22:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=OX+5DgL5L+DB7XZdBwxF1pwtxEcW3b8yHimwNmQkOpo=; b=ARBb1QXsZW6yqaduKl4ez0JHar gvxxwUAo4kAzoYh8DJAZvYiWfQYaDVTGNmyyd5G//JeJ6BdQw1mvdSYVkl5uINRbBHhxZLR0kkbOy //QDlldJmSoqOyWvrHCOg4Tz/93iw6d+9eX0h8wsdqG0PC2PTbWDzYH/aNJ7um82RP1x1ua4GNJmS JEXYFubkGfNM5BHYd2AvT/ETCOKfCc1IXxvupJ/vr9Tm5Vu337dRy3/3ja91zYJg9bsLGr8THIJmz 6087bbXgj6zJG7zEhmRDe1lhMZTT2UpD0hur3ygUZmNz6/thB4Q2V8y5P8RTAl6PNdcfdWrzBP3E8 GHxuY7Hg==; Received: from [2601:1c2:980:9ec0::9fed] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qipei-001tym-0H; Wed, 20 Sep 2023 05:21:44 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Chris Zankel <chris@zankel.net>, Max Filippov <jcmvbkbc@gmail.com> Subject: [PATCH 07/16] xtensa: stacktrace: include <asm/ftrace.h> for prototype Date: Tue, 19 Sep 2023 22:21:30 -0700 Message-ID: <20230920052139.10570-8-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230920052139.10570-1-rdunlap@infradead.org> References: <20230920052139.10570-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 19 Sep 2023 22:22:46 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777564508145596231 X-GMAIL-MSGID: 1777564508145596231 |
Series |
xtensa: fix W=1 build warnings
|
|
Commit Message
Randy Dunlap
Sept. 20, 2023, 5:21 a.m. UTC
Use <asm/ftrace.h> to prevent a build warning:
arch/xtensa/kernel/stacktrace.c:263:15: warning: no previous prototype for 'return_address' [-Wmissing-prototypes]
263 | unsigned long return_address(unsigned level)
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
---
arch/xtensa/kernel/stacktrace.c | 1 +
1 file changed, 1 insertion(+)
diff -- a/arch/xtensa/kernel/stacktrace.c b/arch/xtensa/kernel/stacktrace.c --- a/arch/xtensa/kernel/stacktrace.c +++ b/arch/xtensa/kernel/stacktrace.c @@ -12,6 +12,7 @@ #include <linux/sched.h> #include <linux/stacktrace.h> +#include <asm/ftrace.h> #include <asm/stacktrace.h> #include <asm/traps.h> #include <linux/uaccess.h>