Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3837540pxv; Mon, 28 Jun 2021 14:17:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/48Jz4KG5lkEOUqWK4i9NhTqvguab0iQbo5akSSKkq7AINtFWPpOm6aNyJ8PjUjhpGdNz X-Received: by 2002:a02:cb82:: with SMTP id u2mr1430910jap.8.1624915055083; Mon, 28 Jun 2021 14:17:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624915055; cv=none; d=google.com; s=arc-20160816; b=tTe7yOQo3eSV4knZaMKQGoz5DeGXAQids1uYyeFoeqWNDcSLu/yKLLphmusiUfl+ws hx2RnN7ppe0nSUXKsT6i/Ll8pEtkhlj4qaFmXDCK1INkTNSc18zWCJhgHAuFpzelTaHO rztRYR3cyoZItyln3CAzXf+k4yJ1FGUHhxUd1MzTOfncQEnywDle3AQhVErWXu7jS6lM 035RUtKWOfpeAQ+Q1qnL4BiTTouJ4+Jt8+QYUJ/qeGsC99ewarE5M1ryKWsa12otKluT Qit7R7Gcc1W31YMvzSUK5FpOSEZfO+Olubbx80y4Wlpn4HtsZHTSkX5/t546Vd/V7UGO +rIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wncikg5mICv8gUjviAE8lqffHOiDeYUR82mCV5k/xjA=; b=FWTKz2Hmv9Fv7n76uW1KnhcW0u5Zaui/aoWytmAPh82WrT8TteW1O0PCQJWUSllNlR 5M5kUmPt+NaeCD3A/dw9FfwxV2x09LCAB3VRqQ6wfWpLlfO3IEk8hS1eaZ6od15FVe+Q ra4So7+wFcMfc39C/6dXz9VG1/PKuLZJqOK/qcZAzhfE0ByGxUC0O+wIhj3mkSQvr6AA rvlcvQsI5PjjES7gsLaIWkG2zsr/xbDbig8ks5zM8eq8Cwwa06yZSHK/3MQIX3vfRT2t B+ONvKPM/bQBe9DKwRi2muqvmbwrAzjl67ChEikndx7RmtzjPE9UFP50I7Ac9WXVMooR 8wqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TBnHOCLe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a9si18058869ila.64.2021.06.28.14.17.22; Mon, 28 Jun 2021 14:17:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TBnHOCLe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236672AbhF1PSR (ORCPT + 99 others); Mon, 28 Jun 2021 11:18:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:33262 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236719AbhF1Oz5 (ORCPT ); Mon, 28 Jun 2021 10:55:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 79E4661607; Mon, 28 Jun 2021 14:40:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624891208; bh=uiI51N416hgyuMaff2alU9ZbZwuhNR44gZ6RjN+11hg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TBnHOCLe5MzDSEMMTaKWXULw9ssD3G3AnAgv7ZPStFB74N4e9pY+HDsvX+6elu69o cWLluT5KvNMk2Knx75XDcJz4VaO2PljIhJPx6gihPEyoVQQqVGAPOfvNcgCnagpdBX DgSSdL8jDGa+co/bw2bJ3GOy6S1lF3EGEsnfR+JAfy+Y5+XCzrFryqhEQKr/HhM3Gr Jlp5nnxfqevT+48EljfHFK/P7vT+DK3Xq46x7Bk0HJRV7wC8E5zf90z6GDwLs0TY7J jxTkPC24tqoaa8BL5dR5Z0yMhUHgiFXEAt1EziySngM197sjyb7HSAjTwy9T4l147o KeHk4FRtfEXiQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mark Bolhuis , Jiri Kosina , Sasha Levin Subject: [PATCH 4.9 03/71] HID: Add BUS_VIRTUAL to hid_connect logging Date: Mon, 28 Jun 2021 10:38:55 -0400 Message-Id: <20210628144003.34260-4-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210628144003.34260-1-sashal@kernel.org> References: <20210628144003.34260-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.274-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.9.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.9.274-rc1 X-KernelTest-Deadline: 2021-06-30T14:39+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark Bolhuis [ Upstream commit 48e33befe61a7d407753c53d1a06fc8d6b5dab80 ] Add BUS_VIRTUAL to hid_connect logging since it's a valid hid bus type and it should not print Signed-off-by: Mark Bolhuis Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 40b36e59a867..a056850328ef 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1804,6 +1804,9 @@ int hid_connect(struct hid_device *hdev, unsigned int connect_mask) case BUS_I2C: bus = "I2C"; break; + case BUS_VIRTUAL: + bus = "VIRTUAL"; + break; default: bus = ""; } -- 2.30.2