Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp2415590rdb; Mon, 28 Aug 2023 03:54:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFra5jy9RDEdfyi3q5EMItwI3ggk/GqJ7e1SCnuUiOdnola9RTSvCe2PspqQRRYLsK+zLMD X-Received: by 2002:a19:7b12:0:b0:4f6:2b25:194e with SMTP id w18-20020a197b12000000b004f62b25194emr14462006lfc.58.1693220090443; Mon, 28 Aug 2023 03:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693220090; cv=none; d=google.com; s=arc-20160816; b=T/0Sh3EWDNJ+bacq/SYAzxWjbUqXoXe/weuSArRJRXh95+ZnVy5UJIwcrODMZwuZZ4 ++vINdTikJGLbjHZTvbZSpYailvpHlaTEQDEmcGSg7UKoRBP4tqHO1G93nZ5s/U29rzK sT85t3z2MSwNDdfBCG60LVwqE2msZ3a2NJjSsuTtOmjQgY5UgVq2LLrXoq2H4REiLHwL SM9TW7rAM2arYmDaSzWNDE/+tSzYjjmMbwt5dSOZvZhInCbDBU+f4kdrjk2CxeN6J7jy RxBJWZy7Wd60ZM1j+qr7T9oSoo20v3qaug5cboYB8QWeioy7rQS5egucrJL1Kuu6MVbR EGqw== 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=QE7p4B3abom2ND4T90UwOmyI03Grfme7lAdOLihlQvA=; fh=myjXE8eAMkM2H0tHGBnWa1ar6NNZsj4Z/nL+Y0E6/0U=; b=xFI9yIzvsCJPBAI3vAiFb9+0vaRGi43//6s+UJlx+8/xeL+Ws4FBYnzqJKO8+m/ilE IxZJC4dxfuVgjiXcSw8Xiqv+58ub8BJvmhMnvcFSmrwnGJBBD2hOTVAuOqXfJL5G4r0A 3RZibWfgbfP2yZKqJSfcE+V/KziSgkfBOkdFk0MM0uXma8Mk/+XOCRzFoexYh2Zv3Ryj vzmvIQAgz6Rp3t5JCkU7FlihbuMUevN3ZDnaMsaCdW+VDtGcbWnWqIRtrNay3grj9dkR GogNbWEOSMMEAM5b8WVQsXYewEEgihaCNVRYQ5QNGfjCZsdvaK3FAQJCPAH5HFBnWGEP FREA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@intel.com header.s=Intel header.b=XiXrDSwx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dk24-20020a170906f0d800b0098d22334ee0si2521072ejb.797.2023.08.28.03.54.09; Mon, 28 Aug 2023 03:54:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@intel.com header.s=Intel header.b=XiXrDSwx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232193AbjH1Kvo (ORCPT + 99 others); Mon, 28 Aug 2023 06:51:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232249AbjH1Kuu (ORCPT ); Mon, 28 Aug 2023 06:50:50 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF250199; Mon, 28 Aug 2023 03:50: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=1693219825; x=1724755825; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yeabUHzSr9wnJ5Khd/Kxt8JMKHZYb3HenPBaDj2y7Bw=; b=XiXrDSwxfMaYndVIHbKk2K9Y+ha9boTBhY4t2O+o6AWtRveg356IvsOk CPFVE6RtOLembWFeY6sfSykflTeRQMwn8xu71SEQMOyqmfKIWlcypUPmW QkYtNKhjK2OMUEtdEGM/AiF/yB/GQFdWHoRmBH/pmhECH4IJsMkIf79Jx N1D7A/kESZL44Y/TEoFkRfuUZA/zxZalh0Kcq4IugDVP2Eg4T/SzaD/Ne 2pTkXKwUylkf61donEE3MGbM0LE0Wih/B8u15EOez2MQJvtqRdyQXSGjS s20vZCj3xcJaRk7dXVijWbug8kHt0gZvH1T+7uXfUQUpAswqHY4w4HoKw g==; X-IronPort-AV: E=McAfee;i="6600,9927,10815"; a="355398873" X-IronPort-AV: E=Sophos;i="6.02,207,1688454000"; d="scan'208";a="355398873" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2023 03:50:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10815"; a="803658331" X-IronPort-AV: E=Sophos;i="6.02,207,1688454000"; d="scan'208";a="803658331" Received: from nwiklans-mobl.ger.corp.intel.com (HELO wieczorr-mobl1.intel.com) ([10.213.22.120]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2023 03:50:22 -0700 From: "Wieczor-Retman, Maciej" To: Shuah Khan Cc: ilpo.jarvinen@linux.intel.com, reinette.chatre@intel.com, "Wieczor-Retman, Maciej" , Wieczor-Retman@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] selftests/openat2: Fix wrong format specifier Date: Mon, 28 Aug 2023 12:49:07 +0200 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ksft_print_msg() inside test_openat2_flags() uses the wrong format specifier for printing test.how->flags variable. Change the format specifier to %llX so it matches the printed variable. Signed-off-by: Wieczor-Retman, Maciej --- tools/testing/selftests/openat2/openat2_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/openat2/openat2_test.c b/tools/testing/selftests/openat2/openat2_test.c index 7fb902099de4..9024754530b2 100644 --- a/tools/testing/selftests/openat2/openat2_test.c +++ b/tools/testing/selftests/openat2/openat2_test.c @@ -300,7 +300,7 @@ void test_openat2_flags(void) ksft_print_msg("openat2 unexpectedly returned "); if (fdpath) - ksft_print_msg("%d['%s'] with %X (!= %X)\n", + ksft_print_msg("%d['%s'] with %X (!= %llX)\n", fd, fdpath, fdflags, test->how.flags); else -- 2.42.0