From patchwork Tue Jun 7 14:30:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= X-Patchwork-Id: 12872012 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 260F4C433EF for ; Tue, 7 Jun 2022 14:31:38 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.343349.568702 (Exim 4.92) (envelope-from ) id 1nyaEq-0006u3-8d; Tue, 07 Jun 2022 14:31:20 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 343349.568702; Tue, 07 Jun 2022 14:31:20 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nyaEp-0006sV-U8; Tue, 07 Jun 2022 14:31:19 +0000 Received: by outflank-mailman (input) for mailman id 343349; Tue, 07 Jun 2022 14:31:19 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nyaEp-00061K-7m for xen-devel@lists.xenproject.org; Tue, 07 Jun 2022 14:31:19 +0000 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 7e216186-e66e-11ec-b605-df0040e90b76; Tue, 07 Jun 2022 16:31:18 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id AAAFD5C01CA; Tue, 7 Jun 2022 10:31:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 07 Jun 2022 10:31:17 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 Jun 2022 10:31:15 -0400 (EDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 7e216186-e66e-11ec-b605-df0040e90b76 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1654612277; x=1654698677; bh=U8kU4goNfn hejF90xv/RWehAvQ7mOrYaRxEFIubWjr0=; b=R19Zk3lTBIeggp7H1+bRpEHI/N X/7qNFFQex0MnoJYaqhZ0tdxCiKI+vgtcLLVUcnwQ5vgmCEUzzr6bAak9WqLMm4s Bcinoc7WAgQ68OM5AruE6spN6iUCPA+FjAIcsO7zO7cAjqpsEhFV5hTffWzQfJKq jFAlt7LBoCG8zLmlNZHrzG3sRYE8As+LhOVzNREn5RbbM1yVt3+LaR6IwXPqxiGh S4o+oqKJ0fbUW7hAS5LHOJGWR6GvXUy3M0ljr/4N5Q6dEgymDBbytT5xgBED1s9S XBnQVufCI0z+9ucFYcVocoNWPytS32v+FQcL0SSvAHtIVwNWJi7vnQtzjkkA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1654612277; x= 1654698677; bh=U8kU4goNfnhejF90xv/RWehAvQ7mOrYaRxEFIubWjr0=; b=H uXIBu3wUbTKPSN1QekhmnIa/VHUUcWwk2OAM3jg34KB+lNkS8cmGyTxu2SF8kn+5 vdWcHXPqxJeTOfKDx7goJDx/d5eQEGLZ0Yoj2gCowra/cXabkzjjvkjyr0VDH2ST C/E32RFFif/xxQHKqUgfVnvqNBFJu3DRQyscNYdsjDpf+LeF85uorh52FoKMSd8V ybuROokVnpRuaU6QRU071ogi1mCZnCHW3m8kRbHIwvl54sEhmvtQa8LmoMnSd4jd EtK0GukwDJeA4i/7CPyvs8C+xjkP/nyq1j01L93TxuOtz0GRlaC6IJinVR8+/8vy Ym9kiltCtPkkR0vjkyCvQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddthedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforghr vghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesih hnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucggtffrrghtthgvrhhnpefg ueduhefgvdefheehudejheefudevueeghfekhfehleegveduteeuiedugffgffenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghrmhgrrhgv khesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhm X-ME-Proxy: Feedback-ID: i1568416f:Fastmail From: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Cc: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH v1 04/10] ehci-dbgp: fix selecting n-th ehci controller Date: Tue, 7 Jun 2022 16:30:10 +0200 Message-Id: X-Mailer: git-send-email 2.35.3 In-Reply-To: References: MIME-Version: 1.0 The ehci number was parsed but ignored. Signed-off-by: Marek Marczykowski-Górecki Reviewed-by: Jan Beulich --- xen/drivers/char/ehci-dbgp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/drivers/char/ehci-dbgp.c b/xen/drivers/char/ehci-dbgp.c index 16c8ff394d5c..92c588ec0aa3 100644 --- a/xen/drivers/char/ehci-dbgp.c +++ b/xen/drivers/char/ehci-dbgp.c @@ -1480,7 +1480,7 @@ void __init ehci_dbgp_init(void) unsigned int num = 0; if ( opt_dbgp[4] ) - simple_strtoul(opt_dbgp + 4, &e, 10); + num = simple_strtoul(opt_dbgp + 4, &e, 10); dbgp->cap = find_dbgp(dbgp, num); if ( !dbgp->cap )