From nobody Mon Feb 9 00:01:02 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 AA9B5286A4 for ; Wed, 4 Feb 2026 14:52:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770216730; cv=none; b=YGx7+8XzQt3i5QU0VpZtjrcC5ifrhlL3wjNBH2EL5XyGSQapCAC2cdlrXc3dt+9695coke6aopWtDxAQ4ImqncbpcW3aOVZeWCK4XX63QNGRYfv+87OnfJZdCpWaRih8jIyyjwBGFfDACLpFinvvY+VyZYc5L2/yMpzxFOjtVgM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770216730; c=relaxed/simple; bh=IGs1ScYkFP71z6UE7aLtED39zD3lhjPE8dE990QTpiU=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fuLUhv7KxpDQqRTUCBDAPTSKAuzefPV8wDTXFZPq33Qnx79Ysjej6EFavftEX5wLCrcoERJY+UcIHX/xd7fcUb95sm32+zYg9fugs+AEuASM2QDaJevrUJk5rjQ5hTJ0FDg7VDHpRY1BfLc3e12wZgeK5pVPBohN2MMWk2q0nc8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Dt4hk8Du; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Dt4hk8Du" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770216729; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P84/evlpnt3DS/S6sXWGMrp9V98TiF/ksHbNeWWrihw=; b=Dt4hk8DuIlWLPT8O/sfhqq/A4VMjaZNCC94xLE7W9hblpGf38llPB5fzkqnY4zcFTaCL9z ieiI6UYTfHvTmjZmRxi6iRQwpx2nU6PgQ4jDdVzr7rUlMZ+nwvqFUZVXHFi0K0+cAs3FeR vujuKG7uLNyhP16PJ4YWW/XlyIml3bs= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-530-8ReFqjsNMByCzp8K5EXM7w-1; Wed, 04 Feb 2026 09:52:08 -0500 X-MC-Unique: 8ReFqjsNMByCzp8K5EXM7w-1 X-Mimecast-MFC-AGG-ID: 8ReFqjsNMByCzp8K5EXM7w_1770216727 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5CA461956096; Wed, 4 Feb 2026 14:52:07 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.22.88.140]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id CEA3F30001A5; Wed, 4 Feb 2026 14:52:04 +0000 (UTC) From: Wander Lairson Costa To: Steven Rostedt , Gabriele Monaco , Nam Cao , Wander Lairson Costa , linux-trace-kernel@vger.kernel.org (open list:RUNTIME VERIFICATION (RV)), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 07/20] rv/rvgen: fix typos in automata and generator docstring and comments Date: Wed, 4 Feb 2026 11:42:33 -0300 Message-ID: <20260204144914.104028-8-wander@redhat.com> In-Reply-To: <20260204144914.104028-1-wander@redhat.com> References: <20260204144914.104028-1-wander@redhat.com> 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 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Content-Type: text/plain; charset="utf-8" Fix two typos in the Automata class documentation that have been present since the initial implementation. Fix the class docstring: "part it" instead of "parses it". Additionally, a comment describing transition labels contained the misspelling "lables" instead of "labels". Fix a typo in the comment describing the insertion of the initial state into the states list: "bein og" should be "beginning of". Fix typo in the module docstring: "Abtract" should be "Abstract". Signed-off-by: Wander Lairson Costa Reviewed-by: Gabriele Monaco --- tools/verification/rvgen/rvgen/automata.py | 6 +++--- tools/verification/rvgen/rvgen/generator.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/verification/rvgen/rvgen/automata.py b/tools/verificatio= n/rvgen/rvgen/automata.py index 1feb5f0c0bc3e..0d7cbd0c634a9 100644 --- a/tools/verification/rvgen/rvgen/automata.py +++ b/tools/verification/rvgen/rvgen/automata.py @@ -18,7 +18,7 @@ class AutomataError(Exception): """ =20 class Automata: - """Automata class: Reads a dot file and part it as an automata. + """Automata class: Reads a dot file and parses it as an automata. =20 Attributes: dot_file: A dot file with an state_automaton definition. @@ -113,7 +113,7 @@ class Automata: states =3D sorted(set(states)) states.remove(initial_state) =20 - # Insert the initial state at the bein og the states + # Insert the initial state at the beginning of the states states.insert(0, initial_state) =20 if not has_final_states: @@ -134,7 +134,7 @@ class Automata: line =3D self.__dot_lines[cursor].split() event =3D line[-2].replace('"','') =20 - # when a transition has more than one lables, they are lik= e this + # when a transition has more than one labels, they are lik= e this # "local_irq_enable\nhw_local_irq_enable_n" # so split them. =20 diff --git a/tools/verification/rvgen/rvgen/generator.py b/tools/verificati= on/rvgen/rvgen/generator.py index ee75e111feef1..a3fbb1ac74916 100644 --- a/tools/verification/rvgen/rvgen/generator.py +++ b/tools/verification/rvgen/rvgen/generator.py @@ -3,7 +3,7 @@ # # Copyright (C) 2019-2022 Red Hat, Inc. Daniel Bristot de Oliveira # -# Abtract class for generating kernel runtime verification monitors from s= pecification file +# Abstract class for generating kernel runtime verification monitors from = specification file =20 import platform import os --=20 2.52.0