From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A761FC4338F for ; Sat, 24 Jul 2021 13:00:32 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9CCC560E98 for ; Sat, 24 Jul 2021 13:00:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9CCC560E98 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9D54282EB7; Sat, 24 Jul 2021 15:00:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1627131629; bh=7pg357HPBl5cPiGiRiOlRz66u3YNsxDOj0TAkqKMmPE=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=fETNW/u5WdB+exi0yBIOvtyoswVPl3LUtLrKRegz4hGWii724uORpGXd2c8c3ACY/ thrEXUQTZ/kQwOSqqundtugapQ15fMhErzNfFEuEtSadimLZcXAatNHgauPMowmQAV T4BcaRSoFI8PNs/CUaiX8X5Qybbsm5KJTj9R9ZQXbwpTl4OTgJBP3zKH5HW3Dhbh9y tc5gn4p74CCBSPBJecqnskq6vpa/FmcTmW+hBUbpldl4amZtir+yk+EYaDikLMLwzo 73hVBw/7Y3I0/tc6gyE/AITD/lgBu0ZLlyU1aYDIwS5bIMUGvE3kNzCtL+ozBS9Uyf ALyxnmP18p/1w== Received: from janitor.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 6483182E8D for ; Sat, 24 Jul 2021 15:00:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1627131627; bh=7pg357HPBl5cPiGiRiOlRz66u3YNsxDOj0TAkqKMmPE=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=dH8g6oc3owD9jr0WQNIufIuJBQQ5gRQl0gBHmYfU5lEDDZgQ6QX5oohKysfMpuAVW U/cqCYCsQBNWvhMN47TButVp4Mi/I7RVqBYhOvT3q6c9mvwOGIIeHAfUvShuPE525p yb6wO2WtX63ZyUx/U7/tFerR+lDXeJOj1qI5Ri14IDf7AAkJ2B0+v2/qpm4O+zPuUp iyqVXUqAtzcEA2zXVYfUIhm7OCwvDt1lbq0B6WB96fH/BMQM1IZv0/K2/KJyAm/r2B 4fAKivy6RUW0hWPx8lbuf+tp6FtTPfT3J+cvk1JYe9JOFY6hq3SflOn7g/6dJqZK85 W1SOnTK96ruFQ== Received: by janitor.denx.de (Postfix, from userid 108) id DF8CAA0275; Sat, 24 Jul 2021 15:00:26 +0200 (CEST) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id 00915A006E; Sat, 24 Jul 2021 15:00:19 +0200 (CEST) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id CB1611E14C3; Sat, 24 Jul 2021 15:00:19 +0200 (CEST) To: Simon Glass cc: U-Boot Mailing List , Eugeniu Rosca , Roland Gaudig , Heinrich Schuchardt , Stefan Herbrechtsmeier , Sean Anderson , =?UTF-8?B?TWFyZWsgQmVow7pu?= , Tom Rini , Marek Vasut From: Wolfgang Denk Subject: Re: [PATCH 13/15] RFC: lib: Support a binary prefix 0y MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to: References: <20210720132940.1171011-1-sjg@chromium.org> <20210720132940.1171011-14-sjg@chromium.org> <913691.1626856052@gemini.denx.de> <1080272.1626947310@gemini.denx.de> <1126100.1627023341@gemini.denx.de> Comments: In-reply-to Simon Glass message dated "Fri, 23 Jul 2021 15:41:05 -0600." Date: Sat, 24 Jul 2021 15:00:19 +0200 Message-ID: <1204917.1627131619@gemini.denx.de> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Dear Simon, In message you wrote: > > > > There are quite a few places where simple_strtoul() is called with a > > > base of 0. In that case, if the string starts with 0 it is interpreted > > > as octal. > > > > That's a bug, then. > > If so it is a 19-year-old bug: (was lib_generic/vsprintc.c) > > 153d511e369 Initial revision Mea culpa. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de The trouble with our times is that the future is not what it used to be. - Paul Valery