From nobody Sat May 18 23:44:11 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552410887352755.8479852221453; Tue, 12 Mar 2019 10:14:47 -0700 (PDT) Received: from localhost ([127.0.0.1]:56154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3kzD-00032u-5z for importer@patchew.org; Tue, 12 Mar 2019 13:14:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3kii-0005c7-CR for qemu-devel@nongnu.org; Tue, 12 Mar 2019 12:57:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3kih-0004MI-If for qemu-devel@nongnu.org; Tue, 12 Mar 2019 12:57:40 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:45952) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3kih-0004LI-7I for qemu-devel@nongnu.org; Tue, 12 Mar 2019 12:57:39 -0400 Received: by mail-wr1-x441.google.com with SMTP id h99so2503048wrh.12 for ; Tue, 12 Mar 2019 09:57:38 -0700 (PDT) Received: from donizetti.fritz.box ([151.20.136.223]) by smtp.gmail.com with ESMTPSA id z1sm6894995wrw.28.2019.03.12.09.57.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 09:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=s/GqEpMgu+EgPZaYAtD/KivXLow6iw9L4VJ+xAiC//M=; b=ciJBVefD8tpGGs5XrRWGnLrR/rmUYdyU3VsgmMsbSALce9fVEy/rZg/9zqUzkXC7Cc abAe8poDrNMYplrNDbk4MZkVW1AtEoDR/zNxJH08hULXeTD7cwa1ECTxoUVyMZfBGZh3 XswfJZOf+SlKxPQ0hF7LnDrGilarKHuyT3rEYfLKrTkh12pgxsoWTLr02DsjVh1/rbSp fiaozWwoM0cwwBoP8cXyZHMp4AEkZxIsX3riqf8kVc2LcS2JrAicqf/a7J148vV9sHx3 fzaY3Ylsktqtbz+lXRwTAdkeDwVBONi9a9SBE3KBIi1Gv5Mm8F8ZjvY+hVBI+Z/X3DiO RnLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=s/GqEpMgu+EgPZaYAtD/KivXLow6iw9L4VJ+xAiC//M=; b=rMupHNAr2Ga/CuIKDOu3cc/q1m3Le8DVFy/y9p2nhJkg/Ef3fgJrcnsA+27KUmGfPx kUx5OBVs0REFH2yMNeaHOo637hpzKZgaQBMN40GYoWxgi4fVIK5UjLrij3f9ryicrwEM rDS6ZRmdaf9+z0UYHwXhy2UbVJoSWvAHzOW/c4DO8MeTE3wiAREbEjHjXo0nnLcOmPyd r7FkyFlB/kDgxVh+6zLAfAiAvxx74ZLst+8rsbhxZU56JU7dFlBWC3r6Tb2CQwcpYQDW cez3VW1ppX2RbR8IZzzOSjITfkq+P61M9vtz0eNQNyJimMMUnjgO/cx0Z+BVkC9FHecq L1pA== X-Gm-Message-State: APjAAAVmok5vz+TSO27a7OZjc7AzDow4b509NgDL+WeH/4EB+WT9DbEb 1l9g7YG2PtIA1E79FmPexee2NN5K X-Google-Smtp-Source: APXvYqxFFrhL2hP01TvjvlJaamqiuho6KAOWo2IGFONpkv63Hx2tQ53d+nl5rhqsKGXHeHQwi9hMvw== X-Received: by 2002:adf:fd01:: with SMTP id e1mr19263346wrr.204.1552409857064; Tue, 12 Mar 2019 09:57:37 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 12 Mar 2019 17:57:33 +0100 Message-Id: <20190312165733.31387-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 Subject: [Qemu-devel] [PATCH] minikconf: fix parser typo X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com, dgilbert@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" The result of this typo would be that "select_foo" would be treated as a "s= elect" keyword followed by "_foo". Nothing too bad, but easy to fix so let's be c= lean. Signed-off-by: Paolo Bonzini --- scripts/minikconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/minikconf.py b/scripts/minikconf.py index 5421db0ed0..0ffc6c38da 100644 --- a/scripts/minikconf.py +++ b/scripts/minikconf.py @@ -592,7 +592,7 @@ class KconfigParser: if not self.src.startswith(rest, self.cursor): return False length =3D len(rest) - if self.src[self.cursor + length].isalnum() or self.src[self.curso= r + length] =3D=3D '|': + if self.src[self.cursor + length].isalnum() or self.src[self.curso= r + length] =3D=3D '_': return False self.cursor +=3D length return True --=20 2.20.1