From patchwork Wed Sep 20 05:21:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 14310 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4768938vqi; Thu, 21 Sep 2023 04:21:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmfyyN4NSfJdL0xdO7s9RfedMqlyxH73IVsCobybX7j69/RnEh6VXrfwYt/4ARyFg6yJKV X-Received: by 2002:a05:6358:5e17:b0:133:595:1c with SMTP id q23-20020a0563585e1700b001330595001cmr5179157rwn.31.1695295293005; Thu, 21 Sep 2023 04:21:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695295292; cv=none; d=google.com; s=arc-20160816; b=ikXIIlof9BOSWunRMNmavi9gpU+EsvFCqCXTqjk44Cip34GEJcht1BD9r9gfsJSZRs o3aKfGiJpqQJlilmDPCRZTzloX2Pe+mxJ8qOuDM8x3HzMhET7BKJ1lckOqjX5ArcStm/ XtY4DzIKX6tpX5zKYarpwqZDbzZFVJQDbkduE6XgmfxqK62i3py4UJGgnj64Vv0pcBvi z4/HjPao7UC1OUyGPn9JceZ+iOi5KPrI9VIq3YUlmB/G2epZ+nimmiuODmtDMZau+jyM xnu/yjSdDGw2j08jyWz0C1xHWlU7CuDYafD/a06jOWPGhkstjMjJyK32u4TilwyvflcC Hwjw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=e2ywRdf3MvouMcsL3vuCFcCDBJuhMwwdxm+h7lrRIeE=; fh=5sAf3dSu0rhHl/ha7RfGNJF8dgZn5C4Gv5gSNqoq4qs=; b=yDoEJAi+LISB/DnO97tSgk/mbj4Gr6zVz31swFp1KvjhFJvWxS11YAbPAWKhghfrTk EkbjIjdOb2uEa/vABrobVWGXZXJJVLnMJtucFvTxixqHHuGgc92L1K9z9FnYYHw8e0zq lNUr5jfHkVXb8F/GyN8MbWkPaeNg39MlNpFI7riqCpTIaXUpLCfxb92VF519P/2+ZdGg qH0vTieS2VWze9e0U2PWxCbvPKpDzBTZmO153PwViCvYC1mBZuDRoC20VJBbf7LfAKTj 6IlUIbxx2dXVKWhZXA5SNmXFaDzdEZg7/OWY5IXb2S/RGqGamroj3H6tv2BvTCosX58G toVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=xMY22ZCj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id a185-20020a6390c2000000b00574035fd472si1230557pge.31.2023.09.21.04.21.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 04:21:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=xMY22ZCj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 1236A8253FCB; Tue, 19 Sep 2023 22:22:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232509AbjITFWM (ORCPT + 26 others); Wed, 20 Sep 2023 01:22:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232409AbjITFVu (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 1521EC6 for ; Tue, 19 Sep 2023 22:21:43 -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:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=e2ywRdf3MvouMcsL3vuCFcCDBJuhMwwdxm+h7lrRIeE=; b=xMY22ZCjCjXQIJKeHiLjDC/djU K+xeZcJ1kB2hmuEHKbbhE4f9yVydVelQblWk4nG31aXJxeLQ+EvLtmOZGeROerNGfQrp5wphVE46A 4htzELWGbVqHklf79qTS5w659ExT6SAMObk6chxNFSRyf9O3Lv+0jCfyGEHOXwKO1xwE8xrsDo/GN Q55iwBkxenVbV+iUu5VWWE8olwMlci3troojjTVv2OdfuHW2S8phKHZqRSTgyqQN1ooOZlyMaFB+F JPr8KZPjXJFL06RVRYAbv1nTLdn63GqMbHDlrBzcJmSC8NsunautRIeUlFHlrT+XhCxocRGuhyPiJ kKgjuSjw==; 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 1qipeg-001tym-0B; Wed, 20 Sep 2023 05:21:42 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Chris Zankel , Max Filippov , Thomas Gleixner , Marc Zyngier Subject: [PATCH 00/16] xtensa: fix W=1 build warnings Date: Tue, 19 Sep 2023 22:21:23 -0700 Message-ID: <20230920052139.10570-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 22:22:29 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777572713459323025 X-GMAIL-MSGID: 1777645957250521329 This series fixes all xtensa W=1 build warnings that I have seen with the exception of some in arch/xtensa/boot/. [1] These have been through defconfig, allnoconfig, tinyconfig, allyesconfig, allmodconfig, and many randconfig builds. [PATCH 01/16] xtensa: FSF: define XCHAL_HAVE_DIV32 [PATCH 02/16] xtensa: fault: include [PATCH 03/16] xtensa: irq: include [PATCH 04/16] xtensa: ptrace: add prototypes to [PATCH 05/16] xtensa: processor.h: add init_arch() prototype [PATCH 06/16] xtensa: signal: include headers for function prototypes [PATCH 07/16] xtensa: stacktrace: include for prototype [PATCH 08/16] xtensa: traps: add for function prototype [PATCH 09/16] irqchip: irq-xtensa-mx: include header for missing prototype [PATCH 10/16] xtensa: smp: add headers for missing function prototypes [PATCH 11/16] xtensa: hw_breakpoing: include header for missing prototype [PATCH 12/16] xtensa: tlb: include for missing prototype [PATCH 13/16] xtensa: iss/network: make functions static [PATCH 14/16] xtensa: boot: don't add include-dirs [PATCH 15/16] xtensa: umulsidi3: fix conditional expression [PATCH 16/16] xtensa: boot/lib: add missing prototypes for functions 1: arch/xtensa/boot/boot-elf/bootstrap.S:68: Warning: value 0x1a0003000 truncated to 0xa0003000 arch/xtensa/boot/Makefile | 3 +-- arch/xtensa/boot/lib/zmem.c | 4 ++++ arch/xtensa/include/asm/hw_breakpoint.h | 1 + arch/xtensa/include/asm/processor.h | 5 +++++ arch/xtensa/include/asm/ptrace.h | 3 +++ arch/xtensa/include/asm/smp.h | 1 + arch/xtensa/include/asm/tlb.h | 2 ++ arch/xtensa/kernel/hw_breakpoint.c | 1 + arch/xtensa/kernel/irq.c | 1 + arch/xtensa/kernel/ptrace.c | 1 - arch/xtensa/kernel/signal.c | 2 ++ arch/xtensa/kernel/smp.c | 1 + arch/xtensa/kernel/stacktrace.c | 1 + arch/xtensa/kernel/traps.c | 1 + arch/xtensa/lib/umulsidi3.S | 4 +++- arch/xtensa/mm/fault.c | 1 + arch/xtensa/mm/tlb.c | 1 + arch/xtensa/platforms/iss/network.c | 4 ++-- arch/xtensa/variants/fsf/include/variant/core.h | 1 + drivers/irqchip/irq-xtensa-mx.c | 1 + 20 files changed, 33 insertions(+), 6 deletions(-) Cc: Chris Zankel Cc: Max Filippov Cc: Thomas Gleixner Cc: Marc Zyngier