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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D645C433EF for ; Wed, 27 Oct 2021 10:27:08 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4DDE8604E9 for ; Wed, 27 Oct 2021 10:27:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4DDE8604E9 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id BAF8E940008; Wed, 27 Oct 2021 06:27:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B5E41940007; Wed, 27 Oct 2021 06:27:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A7524940008; Wed, 27 Oct 2021 06:27:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0002.hostedemail.com [216.40.44.2]) by kanga.kvack.org (Postfix) with ESMTP id 960A6940007 for ; Wed, 27 Oct 2021 06:27:07 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 54B158249980 for ; Wed, 27 Oct 2021 10:27:07 +0000 (UTC) X-FDA: 78741839694.15.327D9BE Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf19.hostedemail.com (Postfix) with ESMTP id 0F90CB0000B2 for ; Wed, 27 Oct 2021 10:27:01 +0000 (UTC) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 8428B218B2; Wed, 27 Oct 2021 10:27:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1635330425; h=from:from:reply-to: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=KzENUyRzvrw/2OV9Dsu2Sa7LFdZNTGEsKo8J4eLiMl0=; b=YuFHexoBPD5QZNrzruqjnCapPnLqVZKixHmaynbe4zzE/eMyBCpzEHLhT7uUTevVrfU7T/ M57JfwfLkAq8MyCwuf1SZ2reFrPukcN6iq2Ce/S//xKyh72vLMb1o3lnLEoCgec5Kj8XUF aPYvk18tLyg2ogtBiR7FeyKDbHSU+Yg= Received: from suse.cz (unknown [10.100.224.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 67ABAA3B8B; Wed, 27 Oct 2021 10:27:05 +0000 (UTC) Date: Wed, 27 Oct 2021 12:27:05 +0200 From: Petr Mladek To: "Matthew Wilcox (Oracle)" Cc: Yafang Shao , Sergey Senozhatsky , linux-mm@kvack.org, Vlastimil Babka , Rasmus Villemoes Subject: Re: [PATCH v2 5/5] vsprintf: Make %pGp print the hex value Message-ID: References: <20211019142621.2810043-1-willy@infradead.org> <20211019142621.2810043-6-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211019142621.2810043-6-willy@infradead.org> X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 0F90CB0000B2 X-Stat-Signature: cw4j9urmactzbetraprcku559f98t3k8 Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=YuFHexoB; dmarc=pass (policy=quarantine) header.from=suse.com; spf=pass (imf19.hostedemail.com: domain of pmladek@suse.com designates 195.135.220.28 as permitted sender) smtp.mailfrom=pmladek@suse.com X-HE-Tag: 1635330421-78930 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue 2021-10-19 15:26:21, Matthew Wilcox (Oracle) wrote: > All existing users of %pGp want the hex value as well as the decoded > flag names. This looks awkward (passing the same parameter to printf > twice), so move that functionality into the core. If we want, we > can make that optional with flag arguments to %pGp in the future. > > Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Petr Mladek Best Regards, Petr