Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1546309rdb; Wed, 20 Sep 2023 12:10:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGuNggA1eUQ9/tQuyU6IGPcoi1UDhLMDyXTm6fFwetJnuOAaw026wR80kds7QCy6f62fohJ X-Received: by 2002:a05:6870:3293:b0:1be:ccce:7991 with SMTP id q19-20020a056870329300b001beccce7991mr3508604oac.13.1695237028212; Wed, 20 Sep 2023 12:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695237028; cv=none; d=google.com; s=arc-20160816; b=gybQlEvgPNRECQNhDkXdXoYZteqEJX9jHiENPoGvvKJ+6i1USmeJUxcdIcX1W3dot2 Gs+uujqB/fsyeBceVgvb4OXCPKfzj4q/Jyuuw4hYDMdBLTRhhYEadHf0on9Puv+wPbPB Xb2fwz6QE4rS9zVdk9JPXiy3uHOc0tCn0F9CitVvwJ1Gi43XbLG/VnH5DnXBqBMx2C71 Oe6ej3OERn6bbtxnDHyMj7v5tIfaZmMjG51CIqfhbuNZ00ywcvQM6x9qANQXSCtslf6l bfyixygdA8TvH1wxbhtXTrA+N4PTnKV+lX8mOsUJaoH/akO6/4ByqqImEzueBex1FnRX A0vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=wUnxZNH0dOlLHPQB9Zz2zvwD5zJY9wSryj3LYDqZfxo=; fh=QsxwQyycPA6bb0c8sRy8IRnW+rmPuHMs0Ctu3MM88QQ=; b=ar8akPolmAErU4k5owydTt0P5iqixrPH1vWGgV8hw3ryWyeXUV1h2iFdB1LSOWH75A 42ryr6wwkjIaJOWxOXAwFlfqiwRe2FSjvH6c9ISh9SeLmmBdJx+nksQzKjLXmLqRapZu 7lCBxaXpm9o7+nw2pbl6CA9/5FndCV4HlMQSB0Eo8uGugAWPtZWFP/sw4TZ3NZHotlW1 QW1/UsvLsKlXtaXwixIzIyIICdVHyj9+OZoy2DmzgXPdAXcI48LsT6tJlOlcKTxHZ891 mxzJW2VY1NRt7oKO3Kt4POCMf42qZNruQ+MDPFpbZGIdKQgUZOPAfkKK12BaiEN/G4vK gg/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=J0KaFsfn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id bv4-20020a632e04000000b0055fc5e67d56si4240397pgb.7.2023.09.20.12.10.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 12:10:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=J0KaFsfn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 28B6C8325649; Wed, 20 Sep 2023 04:53:25 -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 S234753AbjITLxY (ORCPT + 99 others); Wed, 20 Sep 2023 07:53:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234750AbjITLxX (ORCPT ); Wed, 20 Sep 2023 07:53:23 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA0B692 for ; Wed, 20 Sep 2023 04:53:17 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-5789de5c677so2038731a12.3 for ; Wed, 20 Sep 2023 04:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695210797; x=1695815597; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wUnxZNH0dOlLHPQB9Zz2zvwD5zJY9wSryj3LYDqZfxo=; b=J0KaFsfnkmB5CmNPqu8PfENsG6fJo9uXqtNvVyIxjC03Exi5Upy7upFdbFvSlZi0jy WDfKnas/YZ2b+wcOvjUWcUZV6ASxw4nkEfVlG7HSXhlXlUwY3avxtgvMGnAEh4vC2VNB dd3tEJHspe7muWf+IvbOJhONwQQva6amkp6xY/L0Q/Ol4dC4p1x0F5C8SxEKcjqHmhJp O9xVGwdLt1B1TBHIUfwGDI6IC0y/GJ9j6gTLkly8UDkAVUHOxzvnZBUSiIfvVe1JpHY0 lugBRklqTxiwxYUQOyajUdh8wW3dczvfAOgIEfQOB7hJzOQHizPCsnAr4kuk863NYnQc w6Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695210797; x=1695815597; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wUnxZNH0dOlLHPQB9Zz2zvwD5zJY9wSryj3LYDqZfxo=; b=vs11PIiMbF/fnYY11zakBtFrxnf1X50tb+lxEtYu5wRQZtCORXdqE5zJ0DMTDhH9XJ q/oNrU4yBJ5ChysDWo6JL4m7PXGKqx4gMykNe3GAgJ9g4W8bxorZqLiPYc1R11INiYjZ AyPEkrZi47xo6XdmplfohBf5XB9L+r3Xe7dn7vbEda+NXqFkoqdXHSLPJGp9BPgzXONX HdXY/mHhBfKWUeG7KlHId9n4MoQogc139eQ2WWBYfGVaNfA4oclSmxBs80tL0giQOV6D e5ZVtAdfTPGPui0ptWw8nbAFM7h65dHM3s3PTz+pATe8C7IVuN99oYirjs36MiK5IvfM C/bA== X-Gm-Message-State: AOJu0Yz8eBqycdkCWmyVF6JjWvSiVAGpBPJ5WtHP8NFqk3dYC90i4eVT Z1ORWcJ9sEDu7f7dl1NP4Q3nSHf8/wdeSX85zQI= X-Received: by 2002:a17:90a:f815:b0:26b:6a2f:7d90 with SMTP id ij21-20020a17090af81500b0026b6a2f7d90mr2405287pjb.23.1695210797252; Wed, 20 Sep 2023 04:53:17 -0700 (PDT) MIME-Version: 1.0 References: <20230920052139.10570-1-rdunlap@infradead.org> <20230920052139.10570-2-rdunlap@infradead.org> In-Reply-To: <20230920052139.10570-2-rdunlap@infradead.org> From: Max Filippov Date: Wed, 20 Sep 2023 04:53:05 -0700 Message-ID: Subject: Re: [PATCH 01/16] xtensa: FSF: define XCHAL_HAVE_DIV32 To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, kernel test robot , Chris Zankel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM, 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]); Wed, 20 Sep 2023 04:53:25 -0700 (PDT) On Tue, Sep 19, 2023 at 10:21=E2=80=AFPM Randy Dunlap wrote: > > When variant FSF is set, XCHAL_HAVE_DIV32 is not defined, > so add the define for FSF to prevent build warnings: > > arch/xtensa/lib/divsi3.S:9:5: warning: "XCHAL_HAVE_DIV32" is not defined,= evaluates to 0 [-Wundef] > 9 | #if XCHAL_HAVE_DIV32 > arch/xtensa/lib/modsi3.S:9:5: warning: "XCHAL_HAVE_DIV32" is not defined,= evaluates to 0 [-Wundef] > 9 | #if XCHAL_HAVE_DIV32 > > Fixes: 173d6681380a ("xtensa: remove extra header files") > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Closes: lore.kernel.org/r/202309150556.t0yCdv3g-lkp@intel.com > Cc: Chris Zankel > Cc: Max Filippov > --- > arch/xtensa/variants/fsf/include/variant/core.h | 1 + > 1 file changed, 1 insertion(+) If this configuration overlay doesn't define that macro then other configurations from that era may have similar issue. I've posted a different fix that adds a default definition for XCHAL_HAVE_DIV32 to asm/core.h instead. --=20 Thanks. -- Max