From patchwork Wed Sep 20 05:21:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 142340 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4029483vqi; Wed, 20 Sep 2023 03:32:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFU48V84hhLWav1NsY8Batmz0VyriMBRmxy3S0LcSkQYpGOeGS48gECBM8CpLL/UC/HlbzS X-Received: by 2002:a17:90a:e002:b0:276:5512:13ab with SMTP id u2-20020a17090ae00200b00276551213abmr6898053pjy.10.1695205951229; Wed, 20 Sep 2023 03:32:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695205951; cv=none; d=google.com; s=arc-20160816; b=XmVv7Of+3hb/rqvQkLNBNlsRIiljKLvU1p4hEqqMOWnL4kWSJS4vdoktS2VnHv+ktT p1U4JDkrNS4+qxeyn/O3hnnrTqeOusxofQw2i4TIuUnJ/VPgVvHCXaNzoQVfXBE4iKZZ OpDCmuoBT2U3Njw+AJqaS99Qj2CNHas9mWAjsKPRxHZ4e8aRN+pLpGG8lXGKnqI6MKvv pKZL6oQLtliVFm7PdrQdd3SqutoAr6Xwt1pb/JouugsLMSQVzs6Elt3U7XxJinrX5bqD j5ILrcJGuMk7HJHTBiCdrbDfY2ckgMfR3yrvaevjYhh/EhByOjW4MfgmgeunD2X/i3Hu bKyw== 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=9RDLrFWJyVC7v0tIEBUg6ZLVQEM25lEHLTr8hB/zzyw=; fh=6/+MrGEwXu3chX+JgIyVPR9luFinEXEbVHdRWlFWSv8=; b=QeM1GkyXWKIhW66eDRVaj8hgp601RCBzgxdJIOwbPx3iRT0qOdWxIXoXIk+/bV80wc e1KxbEAlvrX6cGVB3VhUROBjXWpnN3OBvis856suEgPflchStxl4erUFBud13UVmmakT yGxxVPr6Lcf8cgXAxfBpXa7TbYNEubhA0/2ZSENXq5tqYiY4TsSiccvDbt2Wm0VZgFG8 wNNjGPA6Ka9pBFU0RYn7bVJaw1ZFBM00aw3C8bZFPhmpMAloEEufY+zX1R8IgzrfzGz/ bWMrunmG2wv4BNf+ga5JicF1DBeOVHca/lTwgXaZbPUYKkF9bJvS2fFfb434Xd+i41aZ vCgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=GAC2VprH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id b26-20020a6567da000000b00569161a1885si1062918pgs.288.2023.09.20.03.32.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 03:32:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=GAC2VprH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 66E5D80FE95D; Tue, 19 Sep 2023 22:22:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232800AbjITFWT (ORCPT + 26 others); Wed, 20 Sep 2023 01:22:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232469AbjITFVu (ORCPT ); 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 D3329118 for ; 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=9RDLrFWJyVC7v0tIEBUg6ZLVQEM25lEHLTr8hB/zzyw=; b=GAC2VprHJCnQrsn9TMAD+nz823 KSRCb8cb7Vnd74j/oih/8KTT5stxbf7QV0uGnRJkvc9Nouu/hESJORih3zI5xndnP5tc8OZyUrciM rE56yQIVLRWQwMwcxhpjXCb+XD+LGC/LPvABD4CmGFvOJZaDyBxWofK0VhiXXvK8tn9e14oehpQwg B8ujO+en8uZlLo2REtLG0I2F5jcIVfXWU+Xx3YJb8FovFgzoyTlvNbn/JozdVhY4dfxpcPje4WBU5 7tDSmIG09DDufvPOiXlvWUzuRnOB+MXjIdVT67lZbSacMjfRMqyqjAszrGQF5zSJUfYbunhPZTdEn 5ooHxT/w==; 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-1D; Wed, 20 Sep 2023 05:21:44 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Chris Zankel , Max Filippov Subject: [PATCH 08/16] xtensa: traps: add for function prototype Date: Tue, 19 Sep 2023 22:21:31 -0700 Message-ID: <20230920052139.10570-9-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 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 morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 19 Sep 2023 22:22:28 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777552275506353641 X-GMAIL-MSGID: 1777552275506353641 Use to provide the prototype for trap_init(), to prevent a build warning: arch/xtensa/kernel/traps.c:484:13: warning: no previous prototype for 'trap_init' [-Wmissing-prototypes] 484 | void __init trap_init(void) Signed-off-by: Randy Dunlap Cc: Chris Zankel Cc: Max Filippov --- arch/xtensa/kernel/traps.c | 1 + 1 file changed, 1 insertion(+) diff -- a/arch/xtensa/kernel/traps.c b/arch/xtensa/kernel/traps.c --- a/arch/xtensa/kernel/traps.c +++ b/arch/xtensa/kernel/traps.c @@ -23,6 +23,7 @@ * for more details. */ +#include #include #include #include