From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (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 83C2938B7D1 for ; Mon, 6 Apr 2026 18:35:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775500549; cv=none; b=lRo2Of5guk8BuvMVqSc4REPc7SF+2rEfUmOkrstOUkXqlR9uqqe5njeKEmCpPbFLqSVKyob7EHsqnImucVwZxsVPZgEVBlo7XervzObQ8A0RDuHUaLcHArZ+UGFEBitGXYRXJc15aPl+ifgOHhY+ElOwfRioixTZlK51GQxVQas= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775500549; c=relaxed/simple; bh=r4DeolLepliNDYGgNjlF3C8Smx2ZBfKMA18eIsU9WpY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Gf8oXgR1pAG9ZUUNpPpmUonpd0Lc3Wm+Y2CCMLaTDcTpsh5sI7P3qFA8aRFrGZOG+ITZbty1qUCW3sodUeTU4xOIRfnFLMrbyKllmPA8H3n+FIySApJNSXpWpyr4oXESU6kSnYuFory0USighsstEw9jVZbKGfVVrZtSrW9x9MQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ANM5TQ+q; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass 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="ANM5TQ+q" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1775500548; x=1807036548; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=r4DeolLepliNDYGgNjlF3C8Smx2ZBfKMA18eIsU9WpY=; b=ANM5TQ+qBBztwEDkjKcTD4ygdlr2ssXRD9ikaKva/10Zg9woduHgWCSX 8RcMWi+rE0+NNhUR7fva8Z08KpN+Ps3I8aAfMJC/L45emGVwgjLTWRrtB 0DsYDXQER3aCfiCs1MVyVR9eUBFN0PHPUd7pl/cp25aycF1Jr47nyWtON WGiRIZdS4GXHFg3zpDKZWyqupPJ2sGI6jnoBcsSMJnY67xdXgvDSyHsZD gZyyh1quittzJfUYrO4NJMM04SmnVHvTGjSPGVcMpavlKRROtlcKfiimA I08N5VvqdcluIQr47NoPRayr9GznOAGVqqI+ADEsy9z/KQWX9fH+RMMh4 A==; X-CSE-ConnectionGUID: 4qTfKaWeTIyeDotW4wO4/w== X-CSE-MsgGUID: UXM5LEp4T7C9wfqOVhNl6g== X-IronPort-AV: E=McAfee;i="6800,10657,11751"; a="76523399" X-IronPort-AV: E=Sophos;i="6.23,164,1770624000"; d="scan'208";a="76523399" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2026 11:35:48 -0700 X-CSE-ConnectionGUID: eV1jbvnERia0jIV0B9EPPg== X-CSE-MsgGUID: V4pyitRxTeCq3GO1qzU81A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,164,1770624000"; d="scan'208";a="227113564" Received: from dalessan-mobl3.ger.corp.intel.com (HELO localhost) ([10.245.244.73]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2026 11:35:45 -0700 Date: Mon, 6 Apr 2026 21:35:43 +0300 From: Andy Shevchenko To: Shuvam Pandey Cc: Petr Mladek , Steven Rostedt , Rasmus Villemoes , Sergey Senozhatsky , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] printf: add escaped-string format tests Message-ID: References: <20260406004237.16189-1-shuvampandey1@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@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 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Mon, Apr 06, 2026 at 09:35:01PM +0300, Andy Shevchenko wrote: > On Mon, Apr 06, 2026 at 06:27:37AM +0545, Shuvam Pandey wrote: > > printf_kunit leaves escaped_str() empty even though printk-formats.rst > > documents %*pE conversions and says that omitting the field width > > escapes one byte only. > > > > Add tests for the documented %*pE, %*pEhp, and %*pEa conversions, and > > for the single-byte %pE default when the field width is omitted. > > NAK. We have much more of them already. Check if they need to be translated > to KUnit, though. Really, guys, if you have a mentor, ask them how to use `git grep ...`. -- With Best Regards, Andy Shevchenko