Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3591592pxv; Mon, 28 Jun 2021 08:07:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrUBW3wcyieX/bQBLLO1TG1i4KbXTpojx19e2WTciK6N+8saCwfdYMZtK0j+bmCpmj/V3f X-Received: by 2002:a17:906:914a:: with SMTP id y10mr25713152ejw.235.1624892843918; Mon, 28 Jun 2021 08:07:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624892843; cv=none; d=google.com; s=arc-20160816; b=Kn+eT2uY2++dfYA3Bl/UT7anN9gIDf+rIpSXWddHXwj2b7tsU3WJGb7qe2VONV3/2D +Oze6BlBjAKhURxZvcHuQZaLK4Aan7E8KCD4zsSV+DJXSm1kl+jcVjc8WfQMRONzJliD 4sgEPILg2gq9Ok/X/ysaET2Ek5LI6nGTw0bWFKOi85+hoxW+phFZElgPlneaFeZtBGAV A5Lkg8r8ZwJkzt093UnCp2vViO2dxTDD6g2/wK1Ip9npE13eOvcZKFu+EJPjSb+Z951j mqQM/dN4mp6UwQ2O1FUjdQ0h+GZT9xKpZu/BqEtWO9+aqTQz08ndYtQPUlICrCeYOAo/ cFvw== 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=X13z87Xg5/qhP3k34865ipCTJOTpF54/9b6gCXd2440=; b=ZJiWfOh6BE/9a28HIAmdwoXr1+YGG7jCfYjHkS/3go1a+7e6m77NMMKEt9pTG9Mz0s XAC3L6pKyLsJxayHdxi+87QaqyE2cHD0apklqUuxE/KhWB8vI1KkuYqyafD4V/+y0Jj8 Wz7ZlZAJVNEnWj/YtYXpb/or39H7FQmpxpOS3y5qQOmtUA/q7vXhdlA5Ewzkrqi2+Z6d ujAt6IDjXrl/WBOHqE9jgYFjQOQ1RyYqr8wFK1zltukZ7klEpqktYfdWMbaO7QFvVwVI uJELfN/1AYM6FM2860RMVNGJTKZn0BDksRXPOfa9scGJQ+efg+PUcJX5FgbxDeb3szPx FKIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qa9mra2s; 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 be8si13730177edb.21.2021.06.28.08.06.58; Mon, 28 Jun 2021 08:07:23 -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=Qa9mra2s; 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 S235664AbhF1PG6 (ORCPT + 99 others); Mon, 28 Jun 2021 11:06:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:54504 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236312AbhF1OrS (ORCPT ); Mon, 28 Jun 2021 10:47:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1B06861CA1; Mon, 28 Jun 2021 14:36:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624890993; bh=F3FKcxUS0Hhd5UVimsvK+206F0Fylqh+F03odRcT37k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qa9mra2su4KijoaTKlmQMqt2jSHbowbEQ/xqlHdtXe/76QloyCGJonXrqYQiUSqwr FH/coDkoM6MfyMiuS9rAtxFeO38ksuTVmitbZqHR005GO4Ufd6v9sN9w+T5X/ElL2/ TjP4Iqz/eXu5HDTRGh8k5CbORbvbS/1KWMOm4LO1WJ+m7Dhm13WBFll9uzqv9GQfHK ygpTefm/IuVmy8TSfOzJE3TXhQaMR1wuEp54dJNaI1BBB311VqW9lpQYvk4vIQmtbw Hk4J04ekd9/7zf1byIfxPU9D4neAQBb02XEmji6CBn8kMplj8dShPnJofC6f6FeIw6 1cIYih5k8JLMw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mark Bolhuis , Jiri Kosina , Sasha Levin Subject: [PATCH 4.14 03/88] HID: Add BUS_VIRTUAL to hid_connect logging Date: Mon, 28 Jun 2021 10:35:03 -0400 Message-Id: <20210628143628.33342-4-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210628143628.33342-1-sashal@kernel.org> References: <20210628143628.33342-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.238-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.14.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.14.238-rc1 X-KernelTest-Deadline: 2021-06-30T14:36+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 71ee1267d2ef..381ab96c1e38 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1824,6 +1824,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