Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp675572pxy; Wed, 21 Apr 2021 12:06:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUyfsg2UQvc133UZml831mmAwRUg+yhDm1TinCJ9HGlrFT7ub0nuvvDPvdnyLQDXKm497n X-Received: by 2002:a17:90a:f2c5:: with SMTP id gt5mr12713260pjb.67.1619031980513; Wed, 21 Apr 2021 12:06:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619031980; cv=none; d=google.com; s=arc-20160816; b=h+iU/jZBRaWIhAz/dlrX0oeRn3OdVGOXingnOIQSQOa1y1iIc9itks4WxU8fv4Sup5 +bavlpj1vu4As2QjhK7xXp+1+IE8OEg20gPxbzPjxCeT5YaobYGEpl1z5ffksEiSsC4h QLBH49gTD61O623anuw1O569SR+FoOMWHo5LavifI3oCetNAZsfq5FWAvTTkp54BnowV 3tYC0Q5jF5M8z+nd1765KvfDpHa6YQFmIbeN1Y7xoOSTJD6JI5zsjTk4hLRrz/YYkRyh honefJ0sFUqmSrzHRVN7J/cIGGmR5vy0N0j2kwlOTBGzx8kCtP1CEB+cHSv4Ja/uRzCL 1xeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=L1VT/Ke1N+OH+c//AIRMIBqDOvzXVvfv/gWS0l5Ekxg=; b=Doo9tJoX1q2uXTv45OuJpiuPL41vK/0Hq9DTrKgEkC3z4VPJRmj5+aixFaugJgwCxr N1AfBaMmRwENwEP9Ny1Jb0hif4nVjcQPPGGvEF+rq7SmGjyuyzCtbCxkRDm83Frr+om4 8vhu5Y5vWmqEF3GZYvTlbTHm4F9PgygWQJaIO+NG/IM9rZ365EwV4w6bEEppOjqx8W0M OkNsAOv1Yo+H1/CYTBZd0G9iAr2bJ+9DSz7A3+6234ouE8yadZzPAW+LR7Uh3WxT82Yp cEPlEAeOHIUG/jHDSxkFuLs5kFC0iRZqIKSCrsbasZkkd8+j0R+M64ZeyFCOabInQrp6 mE0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k11si374655pfd.334.2021.04.21.12.06.08; Wed, 21 Apr 2021 12:06:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243521AbhDUO1C (ORCPT + 99 others); Wed, 21 Apr 2021 10:27:02 -0400 Received: from elvis.franken.de ([193.175.24.41]:35319 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243507AbhDUO1B (ORCPT ); Wed, 21 Apr 2021 10:27:01 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1lZDoA-0005BV-00; Wed, 21 Apr 2021 16:26:26 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 7AC22C0840; Wed, 21 Apr 2021 16:15:18 +0200 (CEST) Date: Wed, 21 Apr 2021 16:15:18 +0200 From: Thomas Bogendoerfer To: "Maciej W. Rozycki" Cc: Arnd Bergmann , Huacai Chen , Huacai Chen , Jiaxun Yang , linux-arch@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] lib/math/test_div64: Fix error message formatting Message-ID: <20210421141518.GA11331@alpha.franken.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 03:25:22PM +0200, Maciej W. Rozycki wrote: > Align the expected result with one actually produced for easier visual > comparison; this has to take into account what the format specifiers > will actually produce rather than the characters they consist of. E.g.: > > test_div64: ERROR: 10000000ab275080 / 00000009 => 01c71c71da20d00e,00000002 > test_div64: ERROR: expected value => 0000000013045e47,00000001 > > (with a failure induced by setting bit #60 of the divident). > > Signed-off-by: Maciej W. Rozycki > --- > lib/math/test_div64.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]