Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2565587rdb; Fri, 22 Sep 2023 02:18:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFYrdm0FHtc6o2g11j2nU626N6KJw5V7rgBY/wPrhf6YpGeKg5Qud90Zf3fJDmbRzufRP1x X-Received: by 2002:a17:903:258f:b0:1c5:900c:9eaf with SMTP id jb15-20020a170903258f00b001c5900c9eafmr6450702plb.6.1695374321517; Fri, 22 Sep 2023 02:18:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695374321; cv=none; d=google.com; s=arc-20160816; b=spTOncph2+2OlsDhyt/tYop3nKhXwrAFQIkzKJv9KtHq+U65Kqx5mLuznmZkpKmfB0 C3I3Y13OddaXbJxGEj9hwpQfLCFPfm045HCs0Q2TzKCK84WEtNhUXzkKnd6xut/olZJ/ KxRnDkQb3EnZcE3kN2QTYkfav3ZnHqWBYbrepLgKbcNpGU5vGiPgJ5JHbZaGVcH4bhf1 C+scMlQsqBv24moCiGLhoVIlhM+kOR/1s0d322dMgTXj068C8kRu6eKS15bHc+tmUsFT u5rOrNHc3WkkAJnfFAOq6a155pPIzpvps1meYx9B0lSvL7Rlr7FIu8bysSg3KeyGKh2P 7Xqw== 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=U/8/+sePXRMQ6vbXh3kTJs27Tep9/RcQSCg0Otcsox0=; fh=fn0AWIQbuxjUao4CckPCArAms5Ae1ulO+SPfXoxHNbk=; b=D9qlJAo+8T5Zz3IdTDvXFcusiNrVVd41yUboIfIQN9cDycOxxUC5qeA8pMxsyvwV+2 7Oog64UmlXBxL7crvblvCy4nC8eOwJKQpyZ97MXeD62Nuta8LYA4WyrcTMSbmbSi1tFl YFk3X3XEO/3mkGK7bbjObh9B/RFuzraLmkQRMO7b1kFm7US+9VsxyEMkCPlqmi7fXskr LDtC5HzQbnBUCKq58un15jYJBXyOJkedVkwXwhTbxkZvBzK/R04oOZhrRWo2n2GD2qQY J5HW0owumOhFCn9FEfNRCh2NFJ7l0yAjQ4xVNyzmTPyyv1ArtNEhF1fYJgx1Is1WojEz lgWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A1z9tSD1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id iz17-20020a170902ef9100b001c589ba4a1bsi3244510plb.83.2023.09.22.02.18.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 02:18:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A1z9tSD1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 8FD85835DBC3; Fri, 22 Sep 2023 02:07:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232873AbjIVJHf (ORCPT + 99 others); Fri, 22 Sep 2023 05:07:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232864AbjIVJHd (ORCPT ); Fri, 22 Sep 2023 05:07:33 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49D05E8; Fri, 22 Sep 2023 02:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695373647; x=1726909647; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zojj109GZBbPxByigSVPb5D5ra85zAqBk8BYV5s4DvQ=; b=A1z9tSD16hX8tDDo/AaM4W72dIXKlBDfQGWf+a35ZuVvMsyxMmVpXQZu 0WdA4of7BS6NuV6T52PlFMKI4zHgO7gqsnrPrNzVjAP2rkrZYff3nkTi7 A8PrxKCmkvkmW+dHkkHmdOoFbDmhxeWfVcMkjDV7W8eAqxznK861A3nXS E1oYZoatrTP511x2W2zSdwPHAIRkI6+l9UkpblSHKzIljS4gf1xzjUEox JIY5Hsuwyvv2SrC4IHF1+M61+sgbC/q2UaD6+ggs8N1/mvdXld+oMMZCv eC93wkqf8Ffk4Q9HWrsQjaTcxZ367wH0t8yEJWHaC7pz/htU6XnknsmKR Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10840"; a="378070874" X-IronPort-AV: E=Sophos;i="6.03,167,1694761200"; d="scan'208";a="378070874" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2023 02:07:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10840"; a="837663857" X-IronPort-AV: E=Sophos;i="6.03,167,1694761200"; d="scan'208";a="837663857" Received: from bmatwiej-mobl.ger.corp.intel.com (HELO wieczorr-mobl1.intel.com) ([10.213.8.2]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2023 02:07:25 -0700 From: Maciej Wieczor-Retman To: Shuah Khan Cc: ilpo.jarvinen@linux.intel.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 5/8] selftests/sigaltstack: Fix wrong format specifier Date: Fri, 22 Sep 2023 11:06:41 +0200 Message-ID: <84fc912d23fec3d2a866df7a8f0a48665784fa8c.1695373131.git.maciej.wieczor-retman@intel.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 22 Sep 2023 02:07:42 -0700 (PDT) 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. Reviewed-by: Ilpo Järvinen Signed-off-by: Maciej Wieczor-Retman --- Changelog v2: - Add 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); -- 2.42.0