Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6422250rwr; Mon, 1 May 2023 23:33:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6xXtl+cQdq5RdAtiWFl3e1H+ejk20n9+/kpXjjn05jwZcxi/bOcMtqxsQTLZ6txK/VouSW X-Received: by 2002:a05:6a00:179c:b0:63a:fb40:891a with SMTP id s28-20020a056a00179c00b0063afb40891amr24708427pfg.2.1683009222676; Mon, 01 May 2023 23:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683009222; cv=none; d=google.com; s=arc-20160816; b=LoW7oIOgb94mOEtUuhy7cJLrXgU7T96rAPf/nUC3O8EN9dT0gUw+xqNSWe0xJZyeV/ bldBX9dNs/QbZ6UrUpJ1efPcKTM/o/+ikLorjfnHbSUGom/jibhGKEcun+C6oWLOvbUP Is3Bj1dibwyW/IUfYtUx8UPCPSN3VDstZOOa+tfl728qM9wclzpC/fE2p54OjnxlEP0y yDN09+KZDKm9cKI+7CDhzXpnWIA1S6tThffEvRqbNe5ptnbUkeJRVDzQ9L64HpiaYect FmvN+gx+2Vrw0pLy9CClu8GlGgTP+K5VqnmpVi3XGSTgNlIHt7ZYB2c6mZx1UbMDXbci KtVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=Mq+P+Or5S2cDa8uRDb0VbMIKnPfazrh1Ie3ittG4NpA=; b=zK0TqLA0C/ZvPSdH0x/De/I5RAkAo9GbI04hgBL2uRp/hJAW+klcuSuLnDJr7omH5w TqHArb4K6R4S78eeLm/a7lwD9O2hEYKh/DuMUoAAxme2X7CarP2sDXp1W0jfEQXszvEn a5pl9oC2UaKY7cUkfoyS58X+kEw9mcwY+PZUEgLOdsd6pLe0zQ80VttN+gCepvltJu2B CepEWRRK1c+NcclU3EXs7jxU6Ax2qTo9n4WaM578WvOMN7JOBiovKWJldiTwzGgyl64G ivuLLajAIXAUj2bZPEmyggMj7VJooj+z+YKXPoYo6qmZjxhkc0/TOqRMVQfViWQM3idE IpeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=XXE5oA4K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w5-20020a626205000000b00624ac1abef6si31175704pfb.218.2023.05.01.23.33.28; Mon, 01 May 2023 23:33:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=XXE5oA4K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233001AbjEBGWO (ORCPT + 99 others); Tue, 2 May 2023 02:22:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233128AbjEBGWM (ORCPT ); Tue, 2 May 2023 02:22:12 -0400 X-Greylist: delayed 32693 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 01 May 2023 23:22:09 PDT Received: from out-54.mta0.migadu.com (out-54.mta0.migadu.com [91.218.175.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B95282723; Mon, 1 May 2023 23:22:09 -0700 (PDT) Date: Tue, 2 May 2023 02:21:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1683008526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Mq+P+Or5S2cDa8uRDb0VbMIKnPfazrh1Ie3ittG4NpA=; b=XXE5oA4K0foSqGpEMs5DFo9JRWgR09BYr3Ma0eT30ZOhwthVb3O/V+qRUxwdfKHZL4Mint oPKMfW+hpt8eyu2fmB/QtHlqyNk7CkkrzpA8PgAk0M84iBkx6GuS79HBOZsj7ELnwo8Pve C4RczgcqhGYjzbqdsVwlXHhdT/Cxqoc= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Andy Shevchenko Cc: James Bottomley , Suren Baghdasaryan , akpm@linux-foundation.org, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, willy@infradead.org, liam.howlett@oracle.com, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, ldufour@linux.ibm.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, dennis@kernel.org, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, keescook@chromium.org, ndesaulniers@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, shakeelb@google.com, songmuchun@bytedance.com, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org, Andy Shevchenko , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , "Michael S. Tsirkin" , Jason Wang , Noralf =?utf-8?B?VHLDr8K/wr1ubmVz?= Subject: Re: [PATCH 01/40] lib/string_helpers: Drop space in string_get_size's output Message-ID: References: <20230501165450.15352-1-surenb@google.com> <20230501165450.15352-2-surenb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 02, 2023 at 08:33:57AM +0300, Andy Shevchenko wrote: > Actually instead of producing zillions of variants, do a %p extension > to the printf() and that's it. We have, for example, %pt with T and > with space to follow users that want one or the other variant. Same > can be done with string_get_size(). God no.