Message ID | 9550750decf20a2c8540d5aec74b7747e4d6862f.1696846568.git.maciej.wieczor-retman@intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp1771915vqo; Mon, 9 Oct 2023 03:32:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG6T9LvA1P6MCwaJ2FvwGfklVwZ/p42I4eWQJY7MqHof9zFkzSoxEUpfaY4Ko73t0l+DKcj X-Received: by 2002:a05:6a20:3252:b0:140:6d68:ce07 with SMTP id hm18-20020a056a20325200b001406d68ce07mr14631683pzc.52.1696847544353; Mon, 09 Oct 2023 03:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696847544; cv=none; d=google.com; s=arc-20160816; b=xNFTx2SXXm78bscHgUylCR78A886mcYId0LMDwU7zjl8OzQHBC6aGx2SpBNEXaAvB8 mZB5JfMRS1eJkW899vb8E49GazHhnqFAgsnhRWw4oi6LIV1u4OAKS/hGMcdka7p1dqJv vFg6TJ7TD+NGpoELrCGMQLXeJ8SkOWfuyV60hpBKPPqioG4YJhC6pBKBNVq1slaCfVx1 0pb9a9gC5Nu/u3zzCjU5SKBUBbU13ecAsY4tvDnPNW7w2RFdETnzPs4AIFdqWCp/4Mj4 JMWgctRaQHOn3myKJygrcTbIftSeJ6KaLCLRii9cGZQJZXFSiri7/xlUzB+ahFpQITOt dKbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cxPUETuQyxtZ7ZShumuVHlUusWIIOUE8TPBi2iVvZVw=; fh=fn0AWIQbuxjUao4CckPCArAms5Ae1ulO+SPfXoxHNbk=; b=nkH7AhnIIsi1UUkHgH5mh3y8DLBuk15wjhZJZqgoQ3aS8laJOy/QHJKv2o6idlZvas C8XzbXWFsXwJdOLukKsP3y8POET4xdlqBtUhKybDQb+S9OZZuPT+uiWCbquSyilRnzS4 XVuaB1YF3mNut8FGIfXD+UJdTpoj2+jT2iKw6XfVrvQFYj0aHjV/d91JkSiDH94BSsYw nF8c/tGS0a9qYbfU6Xxadu86DnaZ8EvWV4LCY2CBVS5/Eg3uQIfvJJW2YtDsBYfnPWXK WygnGfhguvLQejzNGeeiXM7GjcVAi1JV68EviKWyHjZH+bRSsPuYrBP4FWaodtJ6ESLk HHLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="J/iGfmrd"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id cp23-20020a056a00349700b0069109ee0b59si7001908pfb.231.2023.10.09.03.32.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 03:32:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="J/iGfmrd"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id A72A180B8DD9; Mon, 9 Oct 2023 03:32:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345861AbjJIKbn (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Mon, 9 Oct 2023 06:31:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345903AbjJIKbi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 9 Oct 2023 06:31:38 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20BBDF1; Mon, 9 Oct 2023 03:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696847494; x=1728383494; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=IHXhr/Amo8gh/HA2VTVFzzTi37cYr/rpIJkcT+9qONg=; b=J/iGfmrdKP6K0jOGxF0XXDc7fA7pb1e2ug8o6UfCmor3uvdrjmvO0gxO xK79xh+6SQ+AVasqH9u/cBfxrkaO3A5/4TijSvNJHNf5sHnSOJTUG+6bJ bFVo6Bd+DD9gZXQ9PyIJW4pG49a8y2ZHKWwssBUhOSC1K/xgQmqUL89YM OOGWjThzoWmiAhyDY4fkdxSXDSbP5QYkbcEScRiQXHMvPWGzQ8r1rvnwz +IlPvHI0YcsKhB7kxlupbODJnAXs3VjYPyRoAKG4HgtK6KrPE4YQxDNgK eCWWyWS4Ycwkm6hbBeuOKhlG6ukUQHP22hTPRE4AMwrDyPyn8m1DO6ri5 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10857"; a="363468450" X-IronPort-AV: E=Sophos;i="6.03,210,1694761200"; d="scan'208";a="363468450" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2023 03:31:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10857"; a="926718722" X-IronPort-AV: E=Sophos;i="6.03,210,1694761200"; d="scan'208";a="926718722" Received: from kkensic-mobl1.ger.corp.intel.com (HELO wieczorr-mobl1.intel.com) ([10.213.30.239]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2023 03:31:31 -0700 From: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com> To: Shuah Khan <shuah@kernel.org> Cc: ilpo.jarvinen@linux.intel.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 5/8] selftests/sigaltstack: Fix wrong format specifier Date: Mon, 9 Oct 2023 12:30:39 +0200 Message-ID: <9550750decf20a2c8540d5aec74b7747e4d6862f.1696846568.git.maciej.wieczor-retman@intel.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <cover.1696846568.git.maciej.wieczor-retman@intel.com> References: <cover.1696846568.git.maciej.wieczor-retman@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 09 Oct 2023 03:32:21 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779273610931969306 X-GMAIL-MSGID: 1779273610931969306 |
Series |
Add printf attribute to kselftest functions
|
|
Commit Message
Maciej Wieczor-Retman
Oct. 9, 2023, 10:30 a.m. UTC
The format specifier inside ksft printing function expects a long unsigned int but the passed variable is of unsigned int type. Fix the format specifier so it matches the passed variable. Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> --- Changelog v2: - Added Reviewed-by tag (Ilpo) tools/testing/selftests/sigaltstack/sas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/sigaltstack/sas.c b/tools/testing/selftests/sigaltstack/sas.c index 98d37cb744fb..07227fab1cc9 100644 --- a/tools/testing/selftests/sigaltstack/sas.c +++ b/tools/testing/selftests/sigaltstack/sas.c @@ -111,7 +111,7 @@ int main(void) /* Make sure more than the required minimum. */ stack_size = getauxval(AT_MINSIGSTKSZ) + SIGSTKSZ; - ksft_print_msg("[NOTE]\tthe stack size is %lu\n", stack_size); + ksft_print_msg("[NOTE]\tthe stack size is %u\n", stack_size); ksft_print_header(); ksft_set_plan(3);