Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2693831rdb; Fri, 22 Sep 2023 06:10:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH43IlpOUEAszZxR3hZS1Qm5vxvN+5laQ7bKb2VC6AJrj4yKJuCiYr8rg9vJ40yb88HKk85 X-Received: by 2002:a17:902:d2cd:b0:1bd:fa80:103d with SMTP id n13-20020a170902d2cd00b001bdfa80103dmr8882001plc.25.1695388219427; Fri, 22 Sep 2023 06:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695388219; cv=none; d=google.com; s=arc-20160816; b=ELcFEhFGLxMXkzElyJ2lL5SH5UNDlY7qxTkkeOz2Ab2ILHBfsHxntuwcf9gWLUejXC UkWreRzjsVNKXtLQyZj5Y26nZjKo/s08Sj/Fpnm4WbaBj6dehgitlAAxvSrdKZRbrUTx GWnYDW9VVtCbYQ+PDwuJ7YG5Q6IreU08ABv+F5fI7gL9T9Af3VHyS4u514g//0SW/MEr /feO4eSDquYhm01S7ieZydzGLhuaFMETBPA2O22UfijUGH3ppLq7ClCw5d/5EWbOg0Wl v5ZZLHPLMr2yrkjBVyBrU1RA3mp/VZ94Yr15HXVad3uJxJN7L2UTWgVKElKt1nQNjlCJ s7uQ== 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=CrawRVyYAUhRZgGsVW1HRlxsaGiymBqVc9v53AlTiEE=; fh=fn0AWIQbuxjUao4CckPCArAms5Ae1ulO+SPfXoxHNbk=; b=GgcvQCmQPpptFHpgbHvj3YTqqTcscVAjyQbIXZBXXoBQMh4gokzzVIET2RTsQioRUB fH13GbPSjxUSnwC6V4BA96lNVhaWuNh0jTy2JF08Q4sdxnTJKogZ4sNhYvlinn0YCjl7 Ucksej0nN+bvwu8P/Ow1j6iEQgnpxXSMnZ3eSJfw+GWhTG/qLAPjTKqKXOckMOCDvVsc UxKHLTc2MihM1EHBzt0ATfJRMOii1y3BRYwqP89WMhlJfW5juS0COq0/Aab3/Qucsr0C bSWc71begjojG8VvoaX79qpvFe4BYIep0CVxCM25TYv7QwY31D9bRDg7oyrRlbmUgsuY KSnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=C8uSrl0a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id q5-20020a170902a3c500b001b89613687bsi3839065plb.439.2023.09.22.06.10.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 06:10:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=C8uSrl0a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 72B6F835C209; Fri, 22 Sep 2023 02:07:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232851AbjIVJHX (ORCPT + 99 others); Fri, 22 Sep 2023 05:07:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232837AbjIVJHU (ORCPT ); Fri, 22 Sep 2023 05:07:20 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51605E8; Fri, 22 Sep 2023 02:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695373634; x=1726909634; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KlaAKoKuo0NKz+v+pcQZY3dMuGk4elrmUzP0ASroud8=; b=C8uSrl0aT1P8I5t3p60pD2N40VhIjQwxc1vODrx69jCv0/1ZfkIBJhLc vNCtfhT6U7ViDoM1tHNBO1AcqlCCF3HcHLeCvCFC9gkInw9dtaRCdKVex 4HYH4QPWjwOv4tc4p7CISDXzqiLPBKXjf1wILMFNaexqskdgqkzg3lzrT 28dq2B2/8vj/BF36IjzEWoCFkYp58qpPWe2RDiF/WGreyx4EL2MJOfbpJ Poovfsho4/WLjI/jyQJLAUXC17Rhnno8c6Z6ere24dHAvWMcA1RP0LCqY IP4yu9mTKv3I5VpZLrxOBnOZQrBwZKpFLrQpRHNZf9Quhq/KAdfInEpoZ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10840"; a="378070799" X-IronPort-AV: E=Sophos;i="6.03,167,1694761200"; d="scan'208";a="378070799" 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:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10840"; a="837663676" X-IronPort-AV: E=Sophos;i="6.03,167,1694761200"; d="scan'208";a="837663676" 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:10 -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 3/8] selftests/openat2: Fix wrong format specifier Date: Fri, 22 Sep 2023 11:06:39 +0200 Message-ID: <6733bc42d9c4df87d13c1272e4ab69753fad9ab9.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=-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,URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 22 Sep 2023 02:07:22 -0700 (PDT) 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. Reviewed-by: Ilpo Järvinen Signed-off-by: Maciej Wieczor-Retman --- Changelog v2: - Add Reviewed-by tag (Ilpo) 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