From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1C07280CFF; Wed, 23 Apr 2025 16:30:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745425812; cv=none; b=T8G+dlvloVjkJm+Fmqq/z27/vZd0k5W7ytfhFmAQkX/wOywc/p5vl8CeB4QCBv4oEXtYkmmLATTvSEXo/F3OTH6TvrWtziOypS4BT5Apeo7sREXKXoFVFQwywZ3zR7aSQRfm1evklhb2DzVilGNpsKqS1Gt1Z2PIgklHOLVN6Go= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745425812; c=relaxed/simple; bh=blCd0egQnP2RQ1crpeuSGS0mStW2KuzlnHkxCncnzPw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iKgS5smwznVkQtQCJ8BL5b/qDd2hL3WaB+aUHtHWAAAatbJl6M4auOZCUaZ3oAQiiXkfIOk1QTpz87B5+7+MqqwIdcv8D+MpWdUeNsN3hplAbjAWabp6AJvP56/+/cVHtRzN9SqDRVMsiFp/mivJ71DwRFpQXlKll5Uz2yJrPfU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=UtkWTpV1; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="UtkWTpV1" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1745425811; x=1776961811; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=blCd0egQnP2RQ1crpeuSGS0mStW2KuzlnHkxCncnzPw=; b=UtkWTpV1tuWRuDbrzuP3PhYgWNeeFvumhMG2II5EFyB3BApBQ91g3Ef3 L25vZMFsbNjBhyN0hXakSnx3998+kwjmpbr9vkiHSUmhoRozenjQCurKI Uc6KRyvSD1sv2+0DjAyZcFRhL2iljy58IT+dJ9+gY0G+8HfrpOEV7OBU3 eHpDLLxh9bJSmx4B4GmgWsodyzaBC/txr1Ydo5Ny8h4hrCIU/5GgkMgRy vUhoQ3fMwVuIjrFyo44NcSlOD2ahMqzVj6x8t0ABe16VTD++nF/JRuE2S C/rkXitN6z2wC6GmXCPV/nFrSHcwErHRmxVnAE3Ov0ArbV3XIO9IIpPv6 g==; X-CSE-ConnectionGUID: 1iBrGGOrRmSe+lT4mk2ubA== X-CSE-MsgGUID: vGPxNNKBRzeI0Wy/PI/H3w== X-IronPort-AV: E=McAfee;i="6700,10204,11412"; a="50691995" X-IronPort-AV: E=Sophos;i="6.15,233,1739865600"; d="scan'208";a="50691995" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2025 09:30:10 -0700 X-CSE-ConnectionGUID: AOZmElnvQS6Bz4a7vmV+Lg== X-CSE-MsgGUID: k1cYvI4HTxyrG+74eZSxKw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,233,1739865600"; d="scan'208";a="137527738" Received: from smile.fi.intel.com ([10.237.72.58]) by orviesa005.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2025 09:29:42 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.98.2) (envelope-from ) id 1u7cyf-0000000F7DT-2dhw; Wed, 23 Apr 2025 19:29:37 +0300 Date: Wed, 23 Apr 2025 19:29:37 +0300 From: Andy Shevchenko To: Geert Uytterhoeven Cc: Petr Mladek , Aditya Garg , Hector Martin , alyssa@rosenzweig.io, Sven Peter , Thomas Zimmermann , Aun-Ali Zaidi , Maxime Ripard , airlied@redhat.com, Simona Vetter , Steven Rostedt , Rasmus Villemoes , Sergey Senozhatsky , Jonathan Corbet , Andrew Morton , apw@canonical.com, joe@perches.com, dwaipayanray1@gmail.com, lukas.bulwahn@gmail.com, Kees Cook , tamird@gmail.com, Linux Kernel Mailing List , dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org, Asahi Linux Mailing List , netdev Subject: Re: [PATCH v4 1/3] lib/vsprintf: Add support for generic FourCCs by extending %p4cc Message-ID: References: Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Wed, Apr 23, 2025 at 04:50:02PM +0200, Geert Uytterhoeven wrote: > On Wed, 23 Apr 2025 at 15:39, Petr Mladek wrote: > > On Tue 2025-04-22 10:43:59, Geert Uytterhoeven wrote: ... > > The problem is that the semantic is not the same. The modifiers affect > > the output ordering of IPv4 addresses while they affect the reading order > > in case of FourCC code. > > Note that for IPv4 addresses we have %pI4, which BTW also takes [hnbl] > modifiers. Ouch, now I think I understand your complain. You mean that the behaviour of h/n here is different to what it is for IPv4 case? > > Avoid the confusion by replacing the "n" modifier with "hR", aka > > reverse host ordering. Not ideal, but better than 'h'ost / 'r'everse pair. Not giving a tag and not objecting either if there is a consensus. -- With Best Regards, Andy Shevchenko