Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp891588lqo; Fri, 17 May 2024 05:04:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCz9DFldWLWyjdwzqZeEGU+hYI/ImH5tt2oISOm023OKg/sLrIYuRKaq7TZTxeCTXrr+w4RzZgenVeGFLvvkoDLBSaB3CcEoou57kh3A== X-Google-Smtp-Source: AGHT+IFM4rdk+QKSD6FdxpOB7IcLi7k8x3gT3obSzcR21RSKmboXjk07784VR6X9JF8dR80oQEDn X-Received: by 2002:a05:6a00:1988:b0:6f3:8468:f9d1 with SMTP id d2e1a72fcca58-6f4e02c7d62mr23959602b3a.14.1715947442030; Fri, 17 May 2024 05:04:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715947442; cv=pass; d=google.com; s=arc-20160816; b=VHaslHGl8SRPAos+Z+mk+cNnhl4CProI1XARz/+wNLOAew0JGb/9pToSqoxJk38mT9 guder22lxSnCxi+e5z1VV6rl8AnIaZAS+0bXJPOwWvcOZzNK+YoiTJudF/+Q4x6NN2Gq MrSUAelI+qfb68urjiJW/u3fISTwkvBlWXbWMqBQOlT2KRBu99FikSBNS/olC6tFotmB GVkNiF3AiSdl8OBlUC7NrwEOgYVCPFB35Tm0HhJaSurBQLYiDzcAySbgFa1nYLGdPQL4 Zwpm7Y2oy9rdGk48KJdn1O+FnzQeCTEjF302fePeObkIRlW8WwbzuExyg/8Bh3LF9WBN qvwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=W3Nk840A7Y11ys2pfsX6e/GLdekrFh2txVLyYVsD/bE=; fh=kp3lvx5AkvLp6nm1eQwGyx89OxoF/c1HvahVU03vXGE=; b=FnZeazznZZxy8Ukg5RgkwqGyfZGi2zYmrR4ul739iq4Tdlzwi4A+GpyJnB7CahD6An k4nJvS69Ur0WVvu/zKIqIuHR+IFmmZqErpW6kC/5pOc3IPlJ6D4Yk2FwZOBnpqq+TZql JoAlBJYysSENiG2b9Vv6XYy1pIUGZEIFwi7l4f2VvS5ThOTU7iirFEnK76KybewlwPT4 gcDreFZtR6X5jlPTG2Ri4KxBOgkrtidpe7ySQ+nZKXzEMqtSgiybAOVJKwBd/lo0Upio J2+TVmAvaMUZOceJnwGS4kKCVgrQXgWhV0fUdjgIV+clzdFLuO5tsi4WIavcJpff62Ln Nb2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=actia.se); spf=pass (google.com: domain of linux-kernel+bounces-182083-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182083-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a72b8fsi17525727b3a.54.2024.05.17.05.04.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 05:04:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182083-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=actia.se); spf=pass (google.com: domain of linux-kernel+bounces-182083-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182083-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A236AB23F5C for ; Fri, 17 May 2024 12:00:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A885E53E0D; Fri, 17 May 2024 11:59:09 +0000 (UTC) Received: from mail.actia.se (mail.actia.se [212.181.117.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 94A7951C59; Fri, 17 May 2024 11:59:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.181.117.226 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715947149; cv=none; b=SIGPPsx1iE5/j/pgUAPn7u+9BWOR/rsavYwgmsW0x+SSJ1WlDSwFsG8QxlOI/zF64zXDXhhXf3B1YNZXW8ewpAX1aeGcxNwakc+pa8h9V4/mCpwrm7zex6IgnvKJ3aziJ7qzxUksg+bj9EyD9ZcCuNNiLGclNh1C4J7ifXgT5KE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715947149; c=relaxed/simple; bh=fe43fJSj3i9NMSzNqNRStwhPd10HNnKc47sfeXR3k8E=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=DpVmuSfsUkMbxrcUT726hiMV7fAkX1cghOjOK+l/0Y7RCSY/eiLWyU8Xcm6XlJht8b58BxqVWZ1DkWFQHgLAo7t3i7e5OKYcf67LivfSE/2uQW9te3CUUuC/iZ+AceflJ6ot1B+xiwkPJk76tT4dt2lj3axEZhiTbb4S9oQgSd0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=actia.se; spf=pass smtp.mailfrom=actia.se; arc=none smtp.client-ip=212.181.117.226 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=actia.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=actia.se Received: from S036ANL.actianordic.se (10.12.31.117) by S036ANL.actianordic.se (10.12.31.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 17 May 2024 13:43:52 +0200 Received: from S036ANL.actianordic.se ([fe80::e13e:1feb:4ea6:ec69]) by S036ANL.actianordic.se ([fe80::e13e:1feb:4ea6:ec69%4]) with mapi id 15.01.2507.039; Fri, 17 May 2024 13:43:52 +0200 From: John Ernberg To: Juergen Gross , Greg Kroah-Hartman CC: "xen-devel@lists.xenproject.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , John Ernberg , "stable@vger.kernel.org" Subject: [PATCH] USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected Thread-Topic: [PATCH] USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected Thread-Index: AQHaqE99M70NH7RzN0K31Fykj7Mi3Q== Date: Fri, 17 May 2024 11:43:52 +0000 Message-ID: <20240517114345.1190755-1-john.ernberg@actia.se> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.45.0 x-esetresult: clean, is OK x-esetid: 37303A29059A2F57607765 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 If no other USB HCDs are selected when compiling a small pure virutal machine, the Xen HCD driver cannot be built. Fix it by traversing down host/ if CONFIG_USB_XEN_HCD is selected. Fixes: 494ed3997d75 ("usb: Introduce Xen pvUSB frontend (xen hcd)") Cc: stable@vger.kernel.org # v5.17+ Signed-off-by: John Ernberg --- drivers/usb/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile index 3a9a0dd4be70..949eca0adebe 100644 --- a/drivers/usb/Makefile +++ b/drivers/usb/Makefile @@ -35,6 +35,7 @@ obj-$(CONFIG_USB_R8A66597_HCD) +=3D host/ obj-$(CONFIG_USB_FSL_USB2) +=3D host/ obj-$(CONFIG_USB_FOTG210_HCD) +=3D host/ obj-$(CONFIG_USB_MAX3421_HCD) +=3D host/ +obj-$(CONFIG_USB_XEN_HCD) +=3D host/ =20 obj-$(CONFIG_USB_C67X00_HCD) +=3D c67x00/ =20 --=20 2.45.0