Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp313623rdh; Wed, 7 Feb 2024 05:45:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFnCVhBP+hZJBXUdqs8YjBAmOQc7Hkq4P5g52oeSMwxAFr0T2QeTSlFo4rk+rxF7hQcUfYg X-Received: by 2002:a2e:aa98:0:b0:2d0:b423:3800 with SMTP id bj24-20020a2eaa98000000b002d0b4233800mr3944943ljb.29.1707313512802; Wed, 07 Feb 2024 05:45:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707313512; cv=pass; d=google.com; s=arc-20160816; b=cAay9WcxkNa+AcsEIw50L4XClMEQlwFSezwC46YMMamilNYmUUMWHldxgPvQjnPGi+ oN7aKMAiA+RxNg/dCfTHT5NGruXJloA3CPR4s+VCjNou84M23B+xy+hDI94wv0DYXvA2 HFB+M0EjrXHLL+FGIQTa2dQjvLkyVi1eDXJveX5sCucj7kfc06NiF3NGNvUXMNKhMaWd Iy6Hp7XZUWt8KeJOIf2cEsEHZX6cDmvJeGVbYPBBZq8Jcuh9uYlqW8WQAgf72S90EBqZ an720U/PViDUzEvAIAVn/aHWzMjaR7TJDgmmGomgVTvMXY1k7EFXpxZzrPz/JnMR7f6S jsGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=vyVQ+QacJ05/G7q1tFSdUFK9zDnCfR8QjDQ5hvwIxO0=; fh=2YXZumGsMk/jsESGrre2rIDocFo8pb63n3vYjVVfDoE=; b=uQZBPZPGrWPu+EvB81QNfcTprY/Hnc/EswrRD5bZuBAPys0GuVEMRPqnsEDBTKfgVp tlzdz1qxj4dmlx8dRYW+J7gKOGIowntH8JF1bhsFxwTwTfQahAPTYVAOSCBGbbUuk7hL zQA2BsWiPZU/K6PGTfJEfZrwuUwH2+lAkUSMLUHPP7B4CVijynuqaX40bVfuC27ZiyBZ eJYnpKTvGDwfkX15HDey2OFADmvuOoB4ktSbdcZBTfApcTHXAlqSxYeqxI6b6bhtZwpe I+wLWRSSRZbxi/p89lSYniEqzB+JiSX5/c+2SPzaA7jQ0M6OTPlNPZ+pIpbpZVjSAbng 1vQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FBt2VtOE; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-56577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56577-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCWS9+TlVv54DjkWKusxbaRbJx+z41bXap3Ly/yTduzQ5jhftqBnwbuZAPCzglZL3pVRkoVb1NLCga19tm+6V3tmuFnDq3/iYen7S5mldQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o8-20020aa7c508000000b00557ddbec291si875536edq.46.2024.02.07.05.45.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 05:45:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FBt2VtOE; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-56577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56577-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 873471F23B85 for ; Wed, 7 Feb 2024 13:45:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B783378B41; Wed, 7 Feb 2024 13:43:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="FBt2VtOE" Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) (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 2B9D77C096 for ; Wed, 7 Feb 2024 13:42:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.134.136.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707313380; cv=none; b=gltuuiJpDMnVq5uI/Hu6SsB+nZz+CXUTC8ltksr0f0b3BWdoQggvPzUN4ZNVrPZ6dWjDEJL3i8N/ANRN/gbA2f4bH1SWw46FZtw566SD0DbY3+h8+9MzXNxYR6q3tQ3iOERHXbFFxhAp0uRf+2Pcqf3jdSbaOxXW4d7dHjy4O/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707313380; c=relaxed/simple; bh=DyoQGsEkYVIpsB0lXxfOD8WwsDkxbIrnmw068ChGyfk=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=ubEVYfz+CFo58pUYS/Eruk4i09xUyKxtiz6EYQ+AoC+VL6j7L2h1/5OtRk/2OEUmseku9BZy29ThImLPQfVitWoS1zJaIN3TyZUfmWsa9RuNvgNYu75mK8rQlMkphP54fQo2RbyvVZrOq/W1szm+CPQgUMfE1s1jfMjnFbuQKc0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=FBt2VtOE; arc=none smtp.client-ip=134.134.136.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707313379; x=1738849379; h=date:from:to:cc:subject:message-id:mime-version; bh=DyoQGsEkYVIpsB0lXxfOD8WwsDkxbIrnmw068ChGyfk=; b=FBt2VtOEK2dXwMNvcCpIv1O+kKay+8xYXFS3lZeFXjm+IWTEh+sgJlG9 pAtBTTggWf7Xm4VFUrKI4eNkXJpo7qHewdFRRpM/njOTlVwlutCOZrMen c2DJB2LLwCF+yjfdQxI2wtGRwJurvJXciSORBsImTU8g/lWyeNfKHBGZr 9lpJ20fDTs6jXvOSHALeERaBUZdV3ddJDRKSxeX7YsAkwec4z+HnQ8Ozy d7uIzLcTDzCpvqk/Pe1ytWBCmKMmcxSuwKWzaA55VBepvsRNXimhvIasU R7mMqxDG2XbstYFkFecEpAYPxvSlD5Ls+ulEUq/lw/BSjMsYzQGUSVXsP g==; X-IronPort-AV: E=McAfee;i="6600,9927,10976"; a="395406769" X-IronPort-AV: E=Sophos;i="6.05,251,1701158400"; d="scan'208";a="395406769" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2024 05:42:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,251,1701158400"; d="scan'208";a="1631772" Received: from lkp-server01.sh.intel.com (HELO 01f0647817ea) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 07 Feb 2024 05:42:56 -0800 Received: from kbuild by 01f0647817ea with local (Exim 4.96) (envelope-from ) id 1rXiCU-0002gS-2C; Wed, 07 Feb 2024 13:42:54 +0000 Date: Wed, 7 Feb 2024 21:42:33 +0800 From: kernel test robot To: Petr Mladek Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Sergey Senozhatsky , Andy Shevchenko Subject: lib/vsprintf.c:1528:9: warning: function 'va_format' might be a candidate for 'gnu_printf' format attribute Message-ID: <202402072101.yrr6DK1t-lkp@intel.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 Hi Petr, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6d280f4d760e3bcb4a8df302afebf085b65ec982 commit: 45c3e93d751ea50861c796da3cbfc848fa6ddf55 vsprintf: Factor out %pV handler as va_format() date: 4 years, 9 months ago config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20240207/202402072101.yrr6DK1t-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240207/202402072101.yrr6DK1t-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202402072101.yrr6DK1t-lkp@intel.com/ All warnings (new ones prefixed by >>): lib/vsprintf.c:625:7: warning: no previous prototype for 'pointer_string' [-Wmissing-prototypes] 625 | char *pointer_string(char *buf, char *end, const void *ptr, | ^~~~~~~~~~~~~~ lib/vsprintf.c: In function 'va_format': >> lib/vsprintf.c:1528:9: warning: function 'va_format' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 1528 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ vim +1528 lib/vsprintf.c 1522 1523 static char *va_format(char *buf, char *end, struct va_format *va_fmt) 1524 { 1525 va_list va; 1526 1527 va_copy(va, *va_fmt->va); > 1528 buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); 1529 va_end(va); 1530 1531 return buf; 1532 } 1533 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki