From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by sourceware.org (Postfix) with ESMTPS id 743603858D1E for ; Fri, 30 Sep 2022 14:56:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 743603858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vrull.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrull.eu Received: by mail-yb1-xb2d.google.com with SMTP id j7so5552811ybb.8 for ; Fri, 30 Sep 2022 07:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=MyHo0zMXQCRe48kSuZ8OeqzzVN9MQE+2Uq/vWrlJz1Q=; b=Fr/vVsc142XW9huf/hGvbLFYH2+0yqhLiC2jPu8AfDpyQa/mjiKx4bbk28o94xhZ2Q 86pD1Kv8WfUk9aZUrRruSXBFw+ZCifvMV68NqfQeAiGf7JJ3O6QX8CsF1vUGS1gZVR9x sUmDmu/QVIvQpjF3fRelFEuXtJ/8RsaM/uaY+U87aQRMw3CLh8bB/woKzxLZyWIaCZmg 5D5zG9X6SfdobNOUFSFTiQOK+0FJEOT5sWomrW4fZKAyNCOIOrUPfE9onjdBG6GTOmZ9 oJDeasSoVgaRzz3jmoKScLOC+/2IIoeQ/b5UyK4b52RegxUJwM8v7sWiB/o+qivKTnHz OuBw== 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=MyHo0zMXQCRe48kSuZ8OeqzzVN9MQE+2Uq/vWrlJz1Q=; b=W5UGjTJeVfxsKEXapXBXSWCtK4+0wy7hr9kcC2r0YADtSRGytPL8DYv02YQpzkQP1x oyLCp0mmSQ5RKy5isAilVzlyXICKYM5Ivhn0dyBCAKlyRvPnTdvxGy0y8fV+zxCuX1nT sqEH1QF7ruQ2DcCnaYWjBJXnte8PzFWg+8iPnfpgp5KGWBywoVZ2FisB0BQZgdMbXf3Z 6alZ7tsLXgO2NqCaiLKmQQZHoZaoAwoXln/we27c8NqMOvpwCoal8HbkLNUf1ygSChpY Y5dg0w+0g6BmVAK2xBjvkcr75AEE4ahN2Nbmdo5lZA/dTlllPHZd+qBNgRZD1jKTCT87 UbsA== X-Gm-Message-State: ACrzQf1TkO/RO0y4FgZM5xe/JYzv2qcz8pkCz22skRcznw4mG7cxL0JE W0v7wbQjkG2kjcVjL88GHFRKGVWMFltqcj0iq/Ie3A== X-Google-Smtp-Source: AMsMyM4Cl/0Sfcf+IxK/uqL5UNxbUa9BoM0EYUM6YiXR5jnURf/JC+qjo7CtSHR6cXduC+R4V2z0ybLFQUuAX3BIRtw= X-Received: by 2002:a05:6902:154d:b0:6b4:17de:8c3f with SMTP id r13-20020a056902154d00b006b417de8c3fmr8896319ybu.644.1664549761796; Fri, 30 Sep 2022 07:56:01 -0700 (PDT) MIME-Version: 1.0 References: <20220930103919.323690-1-christoph.muellner@vrull.eu> <00331db1-f209-e4bb-ae15-4501ad59ce5e@suse.com> In-Reply-To: From: Philipp Tomsich Date: Fri, 30 Sep 2022 16:55:50 +0200 Message-ID: Subject: Re: [PATCH] RISC-V: Eliminate long-casts of X_add_number in diagnostics To: Nelson Chu Cc: Jan Beulich , Christoph Muellner , binutils@sourceware.org, Andrew Waterman , Palmer Dabbelt , Jim Wilson Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Thanks! Applied to master. Philipp. On Fri, 30 Sept 2022 at 16:46, Nelson Chu wrote: > > 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