From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (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 CC67632695F for ; Mon, 6 Apr 2026 18:35:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775500503; cv=none; b=plGHVCLWUxn3HSDblTkkThna31fkfUBvqDK1K9ZEdnILZM2qVmFOcXlhDN4szgzxqusVJMIK0XFKzotFeAvrgiN+80T6aYOHcJwKkwqJxKyWxUSQHvjyTQkt2zyWC3bnagRcNpH0mvxn32BTvZDd8H4T/X3307Qx3K3IRsUE7D8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775500503; c=relaxed/simple; bh=+rqPFu6uB49ObTc/gItF8WC2frY69B+tE5Hk+S8mHLw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DCs66esM2bX/JhkyWdu+f3T4ttGl0MDhwgqOfp9b5Uivyr/swpnLOYB+CIs6E5CxlAYypZ61jXkEfznDxvsh5lxYinnkhSDfg6riyZ1mvfHc0XXIH5OuISJu2Ia088Upfw0NJePT9d6Mu+bikBM2iu78Hjr5tzyKrqVrZfFU+l0= 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=U5MJKwpN; arc=none smtp.client-ip=198.175.65.16 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="U5MJKwpN" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1775500502; x=1807036502; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+rqPFu6uB49ObTc/gItF8WC2frY69B+tE5Hk+S8mHLw=; b=U5MJKwpNMapqczF013P5oYkfgbLYqpkqxdHQ8XvQLN3cG75vrk/twPQF AJJrUGqRUv/PDKXaGhu6yOozAo31mqPMXdGmHBLQOhEVr6XDgSWmBwDuJ JcgJzhBU9BXgTHbsCUJExt286/NGprJsJWy5cmXJ0DwWS6M9ml6eprVwh wPew3spQUIwbFniaJfXiLz8vDqPGnhhFuyIfbOztduqhLU7qTjUKMPhub dHy+WINHIYroN0AD/Ka7+QDEM1gNdEcML1ADmc+iH2fyXsIG3f4R9YG4a CcrcbRgxv9WljjF872AyvPDsS4dEUJMDM2nirgm9l5Mz3gr9E1VG1z+Yo w==; X-CSE-ConnectionGUID: LFJl0XkiRjOQSLc7bZDZxQ== X-CSE-MsgGUID: dHDTZGuRTC6aGNrCFks+4A== X-IronPort-AV: E=McAfee;i="6800,10657,11751"; a="76642904" X-IronPort-AV: E=Sophos;i="6.23,164,1770624000"; d="scan'208";a="76642904" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2026 11:35:01 -0700 X-CSE-ConnectionGUID: ejvkfV1+RW+l8y8usgIk8Q== X-CSE-MsgGUID: U9D3zG6nSVer9sZ84M26Kw== X-ExtLoop1: 1 Received: from dalessan-mobl3.ger.corp.intel.com (HELO localhost) ([10.245.244.73]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2026 11:34:59 -0700 Date: Mon, 6 Apr 2026 21:34:57 +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: <20260406004237.16189-1-shuvampandey1@gmail.com> 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 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. -- With Best Regards, Andy Shevchenko