Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1800830rdb; Mon, 9 Oct 2023 03:31:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFq8yBKrkRs6c8vSgBdlhQ/h9UT65H4C7oHRkw8lrg27hHTKxljykBL9OkA5r3bze3MXNuT X-Received: by 2002:a05:6830:1d43:b0:6b9:a192:aaf3 with SMTP id p3-20020a0568301d4300b006b9a192aaf3mr15280375oth.17.1696847504009; Mon, 09 Oct 2023 03:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696847503; cv=none; d=google.com; s=arc-20160816; b=IbxgNXnnVBmU6SizOxDadsxnOqDZGidE/eOovuA3SeRuI3kFM1mr3zr9E+KI0uW6aO 1xQKLkfAnbZFD/Jwiyg57OjWInA1WGO+Ey54+gl3oA9QR88nJb9IxITq7UimxoMy1q04 y1v9/a5CK7ud60FlUM8AH5kW1ZYAsnfwD2zDF7n/7mpaimP08HZb4bIU2VwMY9IlXAl0 uZPh6qQNtqTqqLafhuwjenS/LfUDCGTy/MNdaDsA72UqLbKs3ER9ysZOjd+ehJd1Yd9u MbQKbiWQFRFLncylZWUSGXSMnE+Utyea5tl6c49X24UjbQITvWlMZezfYonLApfjB8q+ RDuA== 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=AMq54vC/97rLwTtroLlSB17vN0vDy7yj6cpKJl2E1kQ=; fh=fn0AWIQbuxjUao4CckPCArAms5Ae1ulO+SPfXoxHNbk=; b=ECrAcbpN3/C31+YL+LRlx1VrXrYMvnXlu3RHJ9Ra6B9djAwVcLny6U6Axauy0yKg2E HA5gfKQfd8p1mJSt2vfsHYYR63YuUqgpJ95hwZPg/2T8zXTs1VLXKT5tvu00dOgc3RS5 o/dpe5YNwZSDF6NWGjV5YnKKcmVTV1seH2QQGUGlVherowJ/XjVen30t46HDFr8hcfq3 WycOzDnjjfa6jvtcjfPLHKblfgiHYPZRrHBsFJk3n5E+ZobwVyL6JXc6ZoAzZ6XagCNv mkRLfClu69RKZvigX4J14hmPr71u/nsBnLCBHLTgaoFrsYj0yMgkSmLv432APg3EYmEj y5oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZxfpsSbb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id f24-20020a63de18000000b0057745d87b4csi9046956pgg.526.2023.10.09.03.31.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 03:31:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZxfpsSbb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 6DE928020D97; Mon, 9 Oct 2023 03:31:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345869AbjJIKba (ORCPT + 99 others); Mon, 9 Oct 2023 06:31:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345857AbjJIKb2 (ORCPT ); Mon, 9 Oct 2023 06:31:28 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E6D8DB; Mon, 9 Oct 2023 03:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696847484; x=1728383484; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=b4TyoAhMCzLpIfy+bwpbogijkWzx9xqBmM+wkUI3lCg=; b=ZxfpsSbbubPHPc6g0/mRarUrxaXXStdrl36m0qkXa7MSqAmEi/kyrIS8 N4Iv0N25ZJIX9Z902x6M0E9BcRXmFUVPcVo6dXlhr2q6HkWjeTxS/d3xT +20u4/BCejrG1Yi+nTc3tRw1GyhXkeaYybiRm6SNU4bJoiYxvsOzmuDr5 sSr+wfWbo6HPvak9jac4VGibwJJp3BPf5mWcO3huqpRFwyb5xrxTJM8sk EjkbYclq96yfUxRENnAMPPNnKzKraDIuuTTkBCQ/p4KOnm0MPBnemhoWY 7hSWWf4B5lZL+6MYms0Pt8f0WDOeCRDWmPecXb/8Y08wVq0zM2RomMAHW Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10857"; a="363468413" X-IronPort-AV: E=Sophos;i="6.03,210,1694761200"; d="scan'208";a="363468413" 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:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10857"; a="926718676" X-IronPort-AV: E=Sophos;i="6.03,210,1694761200"; d="scan'208";a="926718676" 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:22 -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 v4 3/8] selftests/openat2: Fix wrong format specifier Date: Mon, 9 Oct 2023 12:30:37 +0200 Message-ID: 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=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 morse.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 (morse.vger.email [0.0.0.0]); Mon, 09 Oct 2023 03:31:41 -0700 (PDT) X-Spam-Level: ** 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: Maciej Wieczor-Retman Reviewed-by: Ilpo Järvinen --- Changelog v2: - Added 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