From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 73DD1EADC; Tue, 3 Feb 2026 17:17:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770139072; cv=none; b=XRMRi6RQtJhNSXwNHbpTd/1gRu9NGBwvXIUmcu4FtArgb7x2GlZ0lpPIM96ypsQYhxFcUQ79hnzw4HTvnK3afFJzdOZqTwEWBcbR08H8YhVu4NZshnzzCaTUZYYwFCZamn8jyOXL8nEgFBJKpP3hXs6W12QyKlJywXAgrR2Qfa0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770139072; c=relaxed/simple; bh=v0lDm9YgstKw6NIqXo1gHAVbHj1ebjoVADNi9DqILIA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=n6zoj7UFa9G425Fq742P/dpYqGgeDeZqcUqASbq7QstUfrbtkesamZyyHZT7oXhShPozUaCqKch7qfYQ6j4OlmmnQ/VOEj2x+0g9S0iTlAhYe8ctjBlDp0uVvH2m22bXZth2E27ncTydR6ctrR32zhZpjey+bWAoOYH1+4ZCgkM= 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=GKNtxDZ4; arc=none smtp.client-ip=198.175.65.21 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="GKNtxDZ4" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1770139070; x=1801675070; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=v0lDm9YgstKw6NIqXo1gHAVbHj1ebjoVADNi9DqILIA=; b=GKNtxDZ4s+xtkR5cWXLsEbqxndwOdYvICrK3TYzxxG/hid3VnDbo8HV5 bYoM4Ox2P91dwykj9ztHfnOXX+UMcaDQwuk9z26a8aaAIjr6RU3MiFqzB Pb88MMzi9ENIIapKB62shXM4VqkVnfews5NHUwlLyEexIJX42TkHdG7zK j4uSuwn0P4diLiwBFCZKXQXG5K8UVL6IzFXiy4dvEofMip39WGPd+Axvh S+yWtHF9JN4km8jSIhdr61pEBHZINb6zfRA6WKuhggWuWZMaNR45lpCr/ FNmoYOTRjNEzQ9I/lz1Wc1vU1LW0JU2+lLCTZpga75Lcvc/lnVoVZia1n A==; X-CSE-ConnectionGUID: Du1GSgiVQja99zw0Wtj6gg== X-CSE-MsgGUID: 0pX0ott6RsygtXzVoe14Zw== X-IronPort-AV: E=McAfee;i="6800,10657,11691"; a="71221766" X-IronPort-AV: E=Sophos;i="6.21,271,1763452800"; d="scan'208";a="71221766" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2026 09:17:48 -0800 X-CSE-ConnectionGUID: eFiBkPDwTYek2C7bzla/Yg== X-CSE-MsgGUID: ifUYzvaAT5KqOvbUgYsovw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,271,1763452800"; d="scan'208";a="240590627" Received: from pgcooper-mobl3.ger.corp.intel.com (HELO localhost) ([10.245.245.99]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2026 09:17:44 -0800 Date: Tue, 3 Feb 2026 19:17:41 +0200 From: Andy Shevchenko To: Arnd Bergmann Cc: kernel test robot , Arnd Bergmann , Steven Rostedt , Masami Hiramatsu , Simon Horman , Jeff Layton , Anna Schumaker , Chuck Lever , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Mathieu Desnoyers , Andrew Morton , Linux Memory Management List , Randy Dunlap , Yury Norov , Joel Fernandes , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: Re: [PATCH] tracing: remove __printf() attribute on __ftrace_vbprintk() Message-ID: References: <20260202095834.1328352-1-arnd@kernel.org> <202602032036.FQK7gJvV-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev 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 Tue, Feb 03, 2026 at 04:56:03PM +0100, Arnd Bergmann wrote: > On Tue, Feb 3, 2026, at 15:58, Andy Shevchenko wrote: > > On Tue, Feb 03, 2026 at 08:12:57PM +0800, kernel test robot wrote: > > > >> kernel test robot noticed the following build warnings: > > > > Yeah, you need to go for the full stack of these calls and mark the > > bottom one with __diag() to avoid these warnings. That's my understanding > > and what BPF people required. Chasing this one-by-one would produce > > unneeded churn. > > From what I can tell, I can just move the printf attribute > to the __ftrace_vbprintk() definition to make this bit work. Ah, that's cool! ... > There are unrelated warnings for BPF that I managed to > shut up the same way, doing BPF rejected such an approach, see lore discussions in the past (patches from me). Here some pointers (but not all of them): 20251208141618.2805983-1-andriy.shevchenko@linux.intel.com 202512090407.VxRO6xAS-lkp@intel.com 20251210131234.3185985-1-andriy.shevchenko@linux.intel.com 20251216122514.7ee70d5f@canb.auug.org.au 20251215202430.c35c2d29c4f9ff614d2ab534@linux-foundation.org -- With Best Regards, Andy Shevchenko