From nobody Mon Feb 9 10:30:16 2026 Received: from gauss.telenet-ops.be (gauss.telenet-ops.be [195.130.132.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E1A51AB533 for ; Thu, 28 Nov 2024 14:11:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732803075; cv=none; b=UralPL5a1H8lDuvdF/1HF8IrcB9PehpxIAI6zl0QfFmBdoIF5MZwSKWHIXrrDcLT04Gi5xKKmd66CQUmLKuF97XcKs3Cec2PbzxzHzlGufyFIRBrUPmhgUTKw6uCy+idd46xGkFS9+rMVtkPPCuBvafRWoMhGknVh2IB8r9d1Zc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732803075; c=relaxed/simple; bh=QW4ksDLjGIh3OgycdixnUdgjbLHk/UIqPtxkl+d9+00=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=oZukqMjbilLnClDLKv7yIepVvWIOX5EcmRoM+UMDUpHfmPPgGoyZb4+whvifiiO79qqxZt2oUbQyz8kcLltgU33jmbIXZN1utUPgse+vSIlcPE8X2CqnSwsh+dNqJ+vGhTwCs+TjaWTLJeB0//R/MD59POaqitS3KnbOLG06Hp4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by gauss.telenet-ops.be (Postfix) with ESMTPS id 4XzdNr54lkz4x9k2 for ; Thu, 28 Nov 2024 15:05:00 +0100 (CET) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:c27a:bd9d:13ba:8a2e]) by baptiste.telenet-ops.be with cmsmtp id iE4t2D00F04Zieg01E4tGe; Thu, 28 Nov 2024 15:04:53 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1tGf8V-000bLz-3d; Thu, 28 Nov 2024 15:04:53 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1tGf8X-00DNa4-4w; Thu, 28 Nov 2024 15:04:53 +0100 From: Geert Uytterhoeven To: Luis Chamberlain , Shuah Khan Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] selftests: find_symbol: Actually use load_mod() parameter Date: Thu, 28 Nov 2024 15:04:52 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The parameter passed to load_mod() is stored in $MOD, but never used. Obviously it was intended to be used instead of the hardcoded "test_kallsyms_b" module name. Fixes: 84b4a51fce4ccc66 ("selftests: add new kallsyms selftests") Signed-off-by: Geert Uytterhoeven --- tools/testing/selftests/module/find_symbol.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/module/find_symbol.sh b/tools/testing/= selftests/module/find_symbol.sh index 140364d3c49fc912..2c56805c9b6e6ea0 100755 --- a/tools/testing/selftests/module/find_symbol.sh +++ b/tools/testing/selftests/module/find_symbol.sh @@ -44,10 +44,10 @@ load_mod() local ARCH=3D"$(uname -m)" case "${ARCH}" in x86_64) - perf stat $STATS $MODPROBE test_kallsyms_b + perf stat $STATS $MODPROBE $MOD ;; *) - time $MODPROBE test_kallsyms_b + time $MODPROBE $MOD exit 1 ;; esac --=20 2.34.1