Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp2060643rdb; Sun, 21 Jan 2024 05:56:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGN79IdgfQ8kOZ00VtQygDZyWvohK3n6DlfFmIu//bCz0f44qAaDY35dVfzZeykLIp+YsLY X-Received: by 2002:a17:902:dac6:b0:1d7:1e5d:ab41 with SMTP id q6-20020a170902dac600b001d71e5dab41mr4416881plx.29.1705845414072; Sun, 21 Jan 2024 05:56:54 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u7-20020a170902e80700b001d7406078b6si1559055plg.210.2024.01.21.05.56.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 05:56:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel.com header.s=Intel header.b=SFMFQsHU; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-32069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32069-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7FF9BB22A72 for ; Sun, 21 Jan 2024 13:55:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B5B7F374D1; Sun, 21 Jan 2024 13:55:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SFMFQsHU" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 7B16937170 for ; Sun, 21 Jan 2024 13:54:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705845300; cv=none; b=sGLVkF4+Mnwu04mWdvwcBaK8jKkdhKr6ZTpV/93l8puVnmIjOOCIYpz1FlIp3Hohqd6YcotT73iBvnFu+2f2lcWauTQcnS6mscVsd+SmQ9VfeMCTdATIRUmb7iWTsWsQnELteJy0l8OGeu1EEXDsJ6AhAU7rujydCJGm1IsP8NY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705845300; c=relaxed/simple; bh=nh3I9musX7WUTKaa3run7zJeyskx1zcoqp+/dLL3FzQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JGd7347n2woCb6RZ1qO0aUa+j0peGO/FnmvrZcKklDKSCL2PZI8l8RaAfGd1Jf1BCiqK6Z3EPOLNKFTtieJsqbEhUhHt1Hd5zN+Op28dSu2ZFp+zykipgGosRCVvKv7rYSaqVn1WxA+zO5K1lzcM7YXPjqenit4w6wHedfaubD0= 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=SFMFQsHU; arc=none smtp.client-ip=198.175.65.11 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705845299; x=1737381299; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=nh3I9musX7WUTKaa3run7zJeyskx1zcoqp+/dLL3FzQ=; b=SFMFQsHUbZFh8m34z+q8jU6kLWGVK8cDrZf5Zi+0D5J+sKpXT20BQ1xf QJLGjO44Setn2tqZpX5Dkx0Mg3rYij/+9rX8TeXlHyYu3IMpL1L4PsEz0 sCHRJtjuEohqhCb+UwIPD0HKl58mel9zBFofW4EBmd7ZvMfJ2mBPxTzEQ FYumu8aT47m+bn0KnXpXqYghGyaGqXbLF7p3xy7Ji9fZtSDyPlUthoOFQ IDjXzgROtW7TPbm6QI/NbDzg+U1FJPM8hFD/qAwWzMcoe9Lo3YbpoAUFj LZSbJKbvDRqGuL6eLosKwlPoSf2sFg+5cKL2Ub8xXhavvZvwvMJVDnvBR A==; X-IronPort-AV: E=McAfee;i="6600,9927,10960"; a="7708824" X-IronPort-AV: E=Sophos;i="6.05,209,1701158400"; d="scan'208";a="7708824" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2024 05:54:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10960"; a="785447793" X-IronPort-AV: E=Sophos;i="6.05,209,1701158400"; d="scan'208";a="785447793" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2024 05:54:56 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rRYHl-0000000Fuqj-22wt; Sun, 21 Jan 2024 15:54:53 +0200 Date: Sun, 21 Jan 2024 15:54:53 +0200 From: Andy Shevchenko To: kernel test robot Cc: Petr Mladek , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Sergey Senozhatsky Subject: Re: lib/vsprintf.c:1528:9: warning: function 'va_format' might be a candidate for 'gnu_printf' format attribute Message-ID: References: <202401111051.dDNWAfKw-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 In-Reply-To: <202401111051.dDNWAfKw-lkp@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Thu, Jan 11, 2024 at 10:33:09AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: acc657692aed438e9931438f8c923b2b107aebf9 > commit: 45c3e93d751ea50861c796da3cbfc848fa6ddf55 vsprintf: Factor out %pV handler as va_format() > date: 4 years, 9 months ago Blast from the past?! .. > 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, > | ^~~~~~~~~~~~~~ ce9d3eceb7ff ("lib/vsprintf: Make function pointer_string static") .. > 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); > | ^~~ This might be still valid, but I have no idea how to properly fix it. -- With Best Regards, Andy Shevchenko