From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) by sourceware.org (Postfix) with ESMTPS id 43D203858D1E for ; Fri, 30 Sep 2022 14:46:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 43D203858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-oo1-xc2c.google.com with SMTP id r15-20020a4abf0f000000b004761c7e6be1so2379123oop.9 for ; Fri, 30 Sep 2022 07:46:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=bdkE7Gro8lZ+6f/cTpJZH1r/uRbT0yLxewt9YovzNec=; b=DvbI/FQPG+VaFUtPmOU+qtRF7G03nYNFAHbWBMbY2hYa5EsDPjFZTOBqP5j159Hjd2 jqQTMCLKhFRrDeK09ZRRMvhg0jtrA7x/8LKrRSR9zBOjbegDY8ex0/ZUB6keNardRLNT ZE6xHNn+hqoVVA3lpG1kt2ttOLZw0Myqq/nZcXyhQwlOvurLCEtp1WZV2drr3wE6DLC2 dN7Qd9c5Cv3WKfQ1wPRs90DUjmWVG4/DUmQqDf5vTDdVJwRCa5RvziEhf+X06Us2GxUd WHejfoN24C9Ak6iKaO56MBoBQqq7yt++VQfmz5Dp5usIMIhtLroEv/FPQIeZXO1jT9k1 atYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=bdkE7Gro8lZ+6f/cTpJZH1r/uRbT0yLxewt9YovzNec=; b=Ud1b+7IeGSHwnrOeY1xrUOlZ9X0u3c3Bpb2Ta+XHrM5QzuE1VN61lSeVJj0b/6220S DTqJIfmLB1Sm4DAeOujBKmaJ21nIQMjjii3SGiwwcXErFfDYsz6GcrrzXgs3YHegewQH G5WkY4J8jblzhBpM4pwCRTtPSmojtaD+9x88sKSwWYAjWr2aTK5hLjrqBdh5eAl5WmaX 0kZZkty60BvfhQNpVy6h/SC4A3Zk48FjlywKF4mZ5sxCguo6NqR4fHIXdF2Qu7McHZ8C 3imrXfUJ6OQd9jp4hXDVuhSiYdQFLUtPdJgIcBYe6xIvdwrevss2Tgg0M7sf2mhja3vF 6pBQ== X-Gm-Message-State: ACrzQf1/OFmvYEQdaqo3kog6yOC0XUif7Ab/iI2dZ8sMUABo5zagK13T 5CIlNKNTSglRA8ORhW2jwBJImnAB3umWcUwr4PqvYA== X-Google-Smtp-Source: AMsMyM5kZ4KaVEKGgm6lHBFP5JQQMkMljIG/Qn7osrOAfbr+GGi/gfwSZl+bhVVH41KhN3pP7FFJbqO36EaEOXJYp5I= X-Received: by 2002:a4a:928e:0:b0:476:6c03:f0c5 with SMTP id i14-20020a4a928e000000b004766c03f0c5mr3529783ooh.78.1664549168635; Fri, 30 Sep 2022 07:46:08 -0700 (PDT) MIME-Version: 1.0 References: <20220930103919.323690-1-christoph.muellner@vrull.eu> <00331db1-f209-e4bb-ae15-4501ad59ce5e@suse.com> In-Reply-To: <00331db1-f209-e4bb-ae15-4501ad59ce5e@suse.com> From: Nelson Chu Date: Fri, 30 Sep 2022 22:45:58 +0800 Message-ID: Subject: Re: [PATCH] RISC-V: Eliminate long-casts of X_add_number in diagnostics To: Jan Beulich Cc: Christoph Muellner , binutils@sourceware.org, Andrew Waterman , Palmer Dabbelt , Jim Wilson , Philipp Tomsich Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Both approved, please commit. Thanks for helping to fix them. Nelson On Fri, Sep 30, 2022 at 6:46 PM Jan Beulich wrote: > > On 30.09.2022 12:39, Christoph Muellner wrote: > > From: Christoph M=C3=BCllner > > > > As reported in (and in addition to) > > https://sourceware.org/pipermail/binutils/2022-September/123198.html > > there is no need for casts to (signed/unsigned) long, as we can use > > C99's PRIs64/PRIu64 format specifiers. > > For archaeologists you may want to s/PRIs64/PRId64/, such that no-one > will be misguided. Otherwise thanks for taking care of the other items > this quickly. I'll leave approving of this (as well as my earlier > patch) to the arch maintainers, though. > > Jan