Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3777358pxv; Mon, 28 Jun 2021 12:36:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5QjIC0vFIh9Iz1qDiIoHU/GUPlnqfp7LX8hfy1ghcbgx0QbWJJfnFMOcA9wLivKEHizfo X-Received: by 2002:a02:8546:: with SMTP id g64mr1035418jai.35.1624908982918; Mon, 28 Jun 2021 12:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624908982; cv=none; d=google.com; s=arc-20160816; b=Pzk2KFINcCkmkf5pGYGRwq+jOsaYg06vnh6BFzzYt/umzGVDiN60kP7nN0Q3kjGdu6 WBT+SeMW8xrkL9Z7YgfLrEjHgwpFAZFxyAhzKAMleDBUI4PY/PML4gZ8KBmqusH0NWSx 59meoEwZYaVCiJiLrZVa4+GhLciGgso9VOn2BTe3WEypQMSKEIbEhI7TBqQKsIs2T+3q OAUiOB59TDx3E+wsLG9WW/9bhw0LxR0i9cmCNa/+yqh1H7GgXw+DxaA15b7dM9vMMs/X oLrPeVR/hknoAq251UlUEyQZQ8hzEhXod1J409ow07xwNQRQj5M0rCQO25qZMKx4QcXL QlmQ== 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=O14BLVj2rjhpQ1/xPktRLP/AIfatDKluOuMj/JjyHrI=; b=Y/XH6mAt5YEvQJEF+3Cm4CAqque+4vKmR8PFJCGtTeOh1uQb+nngViYB4EU60n8Fxe xfP361B5fWj7/4Vxprlq/I/fAFH6YytXH+5J10g3vWaqefupmYm9ZYGiRnT5n9enyumy MjG2Oyc+naXGUaDI8nJYvubSFoq1yAVv69zB4NssGgvPW4izA2i5REBhN8M2ggJ88sQP XVxAt6/K/1TMs26abnDAOnC7aQQ4dzBF8/pYIADyOZUxXgm2Tge9MXAX12XFykKYUjVR sH2hKCnGM+Y4DYLcbidVBCd8WvbX7d7IaoyruloEQDp74D8YUaXtS5DoFa3IutlyTl7G FnXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZA3rM9aJ; 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 c4si16519537ilk.14.2021.06.28.12.36.07; Mon, 28 Jun 2021 12:36:22 -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=ZA3rM9aJ; 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 S234362AbhF1OxN (ORCPT + 99 others); Mon, 28 Jun 2021 10:53:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:43578 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235389AbhF1Ojy (ORCPT ); Mon, 28 Jun 2021 10:39:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C588A61C7A; Mon, 28 Jun 2021 14:33:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624890791; bh=kbQZK9mTHYLW8H7dpn1S/0EQM+NCx0gJV0DRioKLeQY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZA3rM9aJ7Sw45GOpyj45mwux025XNjDVGsQ1RBYrqNn2cwlWTzGj8wLSJXJNHnKx7 2TQGGlGG3nKL2UhnReIykOTBdc+tNdxDHdWQucv3q3Jn6WHaxN+zqd8vNRyKpB+zYb pRAYOYvJD/ri9fyV6Sim891ca7v6F4qfgbr3FygK4YrtaJjsPNVetFQwk/oOIi3dMX /CtlgFVNlSjbGibxswkZtVIWGYExGTOglXO9P9s8Q9qY3n+xcGiVIT246npI+pyf/p 0QnmJM6QjwtQoLTvGphzN731GmZD9A4aSNV/7hagy3eLao1YAInTkiyvj6j24RiF+9 TVbdK0dJj8//g== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mark Bolhuis , Jiri Kosina , Sasha Levin Subject: [PATCH 4.19 004/109] HID: Add BUS_VIRTUAL to hid_connect logging Date: Mon, 28 Jun 2021 10:31:20 -0400 Message-Id: <20210628143305.32978-5-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210628143305.32978-1-sashal@kernel.org> References: <20210628143305.32978-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.196-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.19.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.19.196-rc1 X-KernelTest-Deadline: 2021-06-30T14:32+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 9b66eb1d42c2..acbbc21e6233 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1823,6 +1823,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