Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3531188ybl; Tue, 21 Jan 2020 02:30:07 -0800 (PST) X-Google-Smtp-Source: APXvYqw3HC8/6V6TBj5P7H6cpg5ERc77O06BWGeekQUTP0olxhMbAoUaK64EQbSnHsyBLrRma/lz X-Received: by 2002:a05:6808:a9c:: with SMTP id q28mr2425635oij.176.1579602607198; Tue, 21 Jan 2020 02:30:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579602607; cv=none; d=google.com; s=arc-20160816; b=I/yr5ibZe8yhskjgOdiqh2+EIUoF/K2BQ5gbF2Yn6PLd4i6nG+XZSO0+x1sDvfqLKV m1IUpeD6NT0k2/zow2sxchB2rLlOo4OYuZfUQFnbhzFsU7vIjaBXyzxuX5wXKfWbnJQ/ QMWi7bIEEHIPcH0vIS+dz7G0SKRuxE0SGGyG/kIPRNgKKr41wwcK7UGAWwOt7MzhrUtJ 3xukneDjOlQvr8qJGRJ/Jz6wnf7YcJp+anDEonrG54HJtim8sQU9r+BANWHKgcfBmr0I OxggIQf2R/cI6eiT3nSGdVy92yJkWmvcGPbUWs/ZLLis7gOCgxUKJnrHfjIQE25ekzs8 n6Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=SMMEyvcnG2pHD47DYznHA3pzNWYIWShQugit/uStDZ4=; b=BluQVk9kWVSwWKAsiTkiUwLsjHi5wDRZhCPv7Mx4dMlvqY9NeaJG0kVQXV7aGyhbrI lyFxXMJTmplFfD6aVrv6se1cc+Ay+8xssC9fZj3GxqUOEGjYLgnl8yftbkrW32aMOT53 ffFG9MID+zjDeKwEciBlhYfPbVgk23WI6pZJtnSuq0ktmrcXHjb2/M5Iwd4UJLZ7M39m Zksh/+AX7pD/kZszj3e+8bHxPhzqM5DG6DAwBmcP8Wley+vbaHLXgHeN6/wd6wReN+C4 B+xo0HfWcVjwBfgbR/8Cru0omUYt8sjlZJtlukQ/agVBrSzFxnLmdGTtXMXqK0hZWs8K Rp7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=W+mtMBsP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q131si17981138oig.203.2020.01.21.02.29.54; Tue, 21 Jan 2020 02:30:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=W+mtMBsP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729259AbgAUK1k (ORCPT + 99 others); Tue, 21 Jan 2020 05:27:40 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:34017 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727220AbgAUK1k (ORCPT ); Tue, 21 Jan 2020 05:27:40 -0500 Received: by mail-lf1-f65.google.com with SMTP id l18so1852910lfc.1 for ; Tue, 21 Jan 2020 02:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=SMMEyvcnG2pHD47DYznHA3pzNWYIWShQugit/uStDZ4=; b=W+mtMBsPULmyhpTjqsmmsHWep5n8rZ+yDCZYhIdCuQ4wN5tk3y8wKVFcofU+NxY4/F P/Uq11AtX8gIEsOki4qun8WXyufwSyQyXSvxh6WHGNGe+BuaON+UV5LpaF/161O+8X+P vkh4fekf9Era9GYaVTJ7VNd/gg0D3jlD5sGMo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SMMEyvcnG2pHD47DYznHA3pzNWYIWShQugit/uStDZ4=; b=kLVkZ36ZoQ4G5kGDGTZeP5Z2g0rUDrX9Ic3a8qJrMWhNnEou5UxLsOmOsnK4rL5glJ zET+S6HFPsLzuMpGesN4pEoEk67SAClUBT7nzi+blLOPde6x/JMLwPlpAQ6KPuEMYXCB wphBSytteUOg/veubG/Mpz8mS+JEM4LRPx70NIMfA2NlzjTZijNePSIJ7Mb/Ui0dZq5B 1KPXLCOPU0t+dnaiZK9i52wksz4ZuiqYRs9kGInBT3xsrGMCqEWNsOaoIhlsa5NjNVOa +57GWqKvgt47iboW7wah60BiAsSxfp1oYWsh01nT3YjiWVx9ieZJKEBf5qPP5gBydFob 0Tyw== X-Gm-Message-State: APjAAAWCKiT1lg2dIOpAvXCB+Xwc0Cr4FxB8N9P9V/FECQ8h/d8YstSJ iTXN8ZMPGhwxcqPFmEBWazQlKQ== X-Received: by 2002:ac2:43af:: with SMTP id t15mr2390891lfl.154.1579602455818; Tue, 21 Jan 2020 02:27:35 -0800 (PST) Received: from [172.16.11.50] ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id y29sm18199445ljd.88.2020.01.21.02.27.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jan 2020 02:27:35 -0800 (PST) Subject: Re: [PATCH 0/2] printf: add support for %de To: Andy Shevchenko , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= Cc: Petr Mladek , Steven Rostedt , Sergey Senozhatsky , Andy Shevchenko , Greg Kroah-Hartman , "Rafael J. Wysocki" , Linux Kernel Mailing List , Sascha Hauer References: <20200120085508.25522-1-u.kleine-koenig@pengutronix.de> From: Rasmus Villemoes Message-ID: Date: Tue, 21 Jan 2020 11:27:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/01/2020 10.32, Andy Shevchenko wrote: > On Mon, Jan 20, 2020 at 10:57 AM Uwe Kleine-König > wrote: > >> this is an reiteration of my patch from some time ago that introduced >> %dE with the same semantic. Back then this resulted in the support for >> %pe which was less contentious. >> > >> I still consider %de (now with a small 'e' to match %pe) useful. > > Please, don't spread the extensions over the standard specifiers. The > %p* extensions are enough for my opinion. > NAK. > As I think I already mentioned (and what led me to do the %pe), I'm with Andy and Joe here, I don't think modifying the behaviour of stuff other than %p is a good idea - especially not when it's only about saving a few characters to avoid the ERR_PTR() wrapping. Rasmus