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 5FF8BC4338F for ; Fri, 23 Jul 2021 06:55:54 +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 9A3F360ED7 for ; Fri, 23 Jul 2021 06:55:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9A3F360ED7 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 1C25382C75; Fri, 23 Jul 2021 08:55:52 +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=1627023352; bh=L0hmZJzdMyZswJzibBLgFWoQCZ9WiCd/HrrxbqWonuA=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=RwYjbogz5CfYDzIr7hpdZlMr9DuqMoZkir47oLkw5OXcMguF9NL04rzmU2WuEqvmh QQACHq0pAEjj9o/V97fmz8dLsvu9fHI4wiyWYH9R/L2nO94dlrGf0YZ5K/LOxKxC2X ViSbV+DDIUUanAlDB24S8iJKn3BKD4Vxy4Lqf6wBl1byjrvFmfO5G+TNn7EYwLkUcE GB5MgYDsFCE67hfxTN2cGp4eE1Xrb1AGt64ykx7IdUdCTlJb7bbGj5WMbIuVjX94fi wpxVzIxh+uih45JO9ovvMjcxVyXYJCn3yV5Mmsy5dQBZ9VRB47FOTMJaeFpgfe8zqE JzKf5B7kSIEXg== 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 91D5982C8D for ; Fri, 23 Jul 2021 08:55:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1627023350; bh=L0hmZJzdMyZswJzibBLgFWoQCZ9WiCd/HrrxbqWonuA=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=z0V/KQbH4Bbv1k7QRBLrDa4gxBtSItqceRRsJCPs+a9QuXfh6vIPL+6oEaW1ldoYd AdcDPa5/so300E5rsaKNddr9+JCFaCEIKafkKk0ugXmXLUKdOIvDm4fxF4DDL1WPh4 I6SU9dQ2jpM6QlwsjL2HThA8EKaRHCE2ZgMesNdB1N/OJ+eppw1qBW1Kua8R6SHfxB 79uNH2jNq0NX8YHOcMM1PpqgVIuQa48h7Vng//4DZU/gbCMvFFnx5aAyP4Shb4PfTA jl/+g7ikEVa8Z4ijOwkuU4KtY5SYl+G73D8151xhhXgkpKLREgWs69jB537ZuLmy2G CdJDEo2vZNwZw== Received: by janitor.denx.de (Postfix, from userid 108) id EB2C0A0148; Fri, 23 Jul 2021 08:55:49 +0200 (CEST) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id DD6D8A0116; Fri, 23 Jul 2021 08:55:41 +0200 (CEST) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id 86DEF1E14C3; Fri, 23 Jul 2021 08:55:41 +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> Comments: In-reply-to Simon Glass message dated "Thu, 22 Jul 2021 07:28:25 -0600." Date: Fri, 23 Jul 2021 08:55:41 +0200 Message-ID: <1126100.1627023341@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: > > > Drop? AFAICT we never supported octal. Something like "md 040" will > > start dumping at 0x00000040, right? > > 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. 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 panic: can't find /