Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp283936rdb; Thu, 1 Feb 2024 08:24:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHeeQJXMOT/LISwhAg6+p40D6gh/TrmzuUZZBNoNH0dvV/fAwbN7QUAGa28T7TwbYiMoOTx X-Received: by 2002:a05:6870:b62a:b0:218:50a9:8df3 with SMTP id cm42-20020a056870b62a00b0021850a98df3mr5787630oab.12.1706804640066; Thu, 01 Feb 2024 08:24:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706804640; cv=pass; d=google.com; s=arc-20160816; b=uXZITYres9X0EjmyKAVpQBufqclYk0CMsRyJZV/hNbb4pGsunbgJ/WC79y/g/kYB+G Vx3KqQcs3gEhyrS6QvXuJ92eCZDQr4d1rY80oFC3EVVF983OGitop5gAh7ddE0yDUEY0 i0FSrMEn4Pvkb+avpjM8wxW6iM6RA4a2n7CQ7h1Sfe71aV51sUS7kzbc5S4k12MOfW79 TMfJ2XCPJI1rmEj4SFd3F+x5HfrkoWU2V1nfF6KkaVu3UTvZMAuGEZfCCNXfTSVJ5HP+ h6uezNw1r3bI0T+2v6Z9uoYMx3Fmhn5LTuTSe/LhdMM6J3fK1xQRg71DuDJ+WyGIviaz jYRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=8xcLm2GyUvzAY8dSwjXISuZE1OtOq1bhLzkdAXPbQ48=; fh=CtsjvXlOJXYnerQjY3K9WTFob8uQCVIbW4LSb2ScCKA=; b=0fhjVjbEtQLev+C0fR8VN+Hwl8pUxYTW0D+4z/aYYF466UEZRcfPg47g3Hapc8dK5I TkVjYEnnlwOyBGSXTyD1OsZVaZFLSqLNhHmPWWkczWBnKD3wF/m+/AxDnWZee0kspzK6 A7csqudepG283pAd6WFwS6ghVvG3qoda9eBBl5cX2ewdj+MmLdQjjGBlms13oPxgIiHZ hDTVyVdOoaa5iNzz9/mAniXyAcUwMJIhStD5fxfJ7NRipuwq+MooPJl5qCKJSlyS0JVd wH+ngl0bMBLqq1Z30GCUejW53c36TvVS+M2E+4lhPLVQ3dSvpJBq1VP1CkAwqbgJ0Bua Clzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uMZofDuy; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48495-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCUskaiQTLGIXGO5qHfJDzFSNA92II1/UdH8VT1/KZH6fdtOJUqByj3qrDmp1Vkyv/AUsVXKx+gd5eLVy5dUtSr0DV0X+0z6kUYKGaZaiw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d1-20020a63bd41000000b005d8bec0e88asi9834468pgp.560.2024.02.01.08.23.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 08:24:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48495-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uMZofDuy; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48495-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F01BD28B3B5 for ; Thu, 1 Feb 2024 16:17:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55288160866; Thu, 1 Feb 2024 16:14:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uMZofDuy" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E4A51649D2 for ; Thu, 1 Feb 2024 16:14:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706804070; cv=none; b=MU04MSdcxA+sbb+sBAGelvaWonZqKrUiZ+4P+nYyy8apziFznqsoKGHsQXIIIy6JSZxMLyZWFJOTGJySmj9BceCy3p1C14Da6jsdE5qJR8Zruc6NKxasd9Ql5/AjtXTDFtPfndYhPSLtsHH++mKuqMkom3TNzuR+9xic+9u6n3o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706804070; c=relaxed/simple; bh=rwKzLmSSRmEEpMX+QqvNlHLc4dRHi0DGf0sAxL6yZak=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=dUIi187UPNKU4cbDtSktETYZz+seAPM7RZdFf4Gjg8txR+bRjFCfl3z0RUNeYAu5TS/Xgchqmg6QIc88qBWG6KIaR2zWsZGKACCsitp5rIdibftmWI3xiTyScZz3pZ9jFM0tBJzhl9KKnJ4KQznEcZu8Ny969AvHbOJGyCkW1Wk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uMZofDuy; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC2C6C433A6; Thu, 1 Feb 2024 16:14:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706804070; bh=rwKzLmSSRmEEpMX+QqvNlHLc4dRHi0DGf0sAxL6yZak=; h=Date:From:To:Cc:Subject:From; b=uMZofDuyNb+ZYKzKUN8jb6HO6tWvE6lTGO59Fv6ywYLyXnvw1HKoZO7MgPUl/cbEI fDBcSxY1EzzP1qLF0eR0qjT0QqW1AnJZoRYt+fU692ieRuByXlPhxlBcfvLk1OxPE0 nIrFm9edtnSXtjWUVGI4iQI77ll5/MIG2g18otE932Vp8PtWPbhoBJ1UnJeat/I+S5 SUgw/3OKCvN+Rq28RdxHyt62Aj4lMHUaZUoBuFXaegowugp9cdtiiTgHbdUiZ0EGpK 697/sbaJ1xNdSMpC6ld00FZBG3FGyPKYmJINtrCJfAzArhgxSdkBqImFUQ7VNOp0K9 lEKUYK99aKC5g== Date: Thu, 1 Feb 2024 17:14:26 +0100 From: Benjamin Tissoires To: Linus Torvalds Cc: Jiri Kosina , linux-kernel@vger.kernel.org Subject: [GIT PULL] HID fixes for 6.8 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git tags/hid-for-linus-2024020101 to receive fixes that should go into 6.8: ===== - cleanups in the error path in hid-steam (Dan Carpenter) - fixes for Wacom tablets selftests that sneaked in while the CI was taking a break during the year end holidays (Benjamin Tissoires) - a null pointer check in nvidia-shield (Kunwu Chan) - a memory leak fix in hidraw (Su Hui) - another null pointer fix in i2c-hid-of (Johan Hovold) - another memory leak fix in HID-BPF this time, as well as a double fdget() fix reported by Dan Carpenter (Benjamin Tissoires) - a fix for Cirque touchpad when they go on suspend (Kai-Heng Feng) - a new device ID in hid-logitech-hidpp: "Logitech G Pro X SuperLight 2" (Jiri Kosina) ===== Thanks, ---------------------------------------------------------------- Benjamin Tissoires (4): selftests/hid: wacom: fix confidence tests HID: bpf: remove double fdget() HID: bpf: actually free hdev memory after attaching a HID-BPF program HID: bpf: use __bpf_kfunc instead of noinline Dan Carpenter (2): HID: hid-steam: remove pointless error message HID: hid-steam: Fix cleanup in probe() Jiri Kosina (1): HID: logitech-hidpp: add support for Logitech G Pro X Superlight 2 Johan Hovold (1): HID: i2c-hid-of: fix NULL-deref on failed power up Kai-Heng Feng (1): HID: i2c-hid: Skip SET_POWER SLEEP for Cirque touchpad on system suspend Kunwu Chan (1): HID: nvidia-shield: Add missing null pointer checks to LED initialization Su Hui (1): HID: hidraw: fix a problem of memory leak in hidraw_release() drivers/hid/bpf/hid_bpf_dispatch.c | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------- drivers/hid/bpf/hid_bpf_dispatch.h | 4 ++-- drivers/hid/bpf/hid_bpf_jmp_table.c | 40 ++++++++++++++++++++-------------------- drivers/hid/hid-ids.h | 3 +++ drivers/hid/hid-logitech-hidpp.c | 2 ++ drivers/hid/hid-nvidia-shield.c | 4 ++++ drivers/hid/hid-steam.c | 36 ++++++++++++++++++------------------ drivers/hid/hidraw.c | 7 +++++-- drivers/hid/i2c-hid/i2c-hid-core.c | 6 +++++- drivers/hid/i2c-hid/i2c-hid-of.c | 1 + include/linux/hid_bpf.h | 11 ----------- tools/testing/selftests/hid/tests/test_wacom_generic.py | 8 ++++---- 12 files changed, 138 insertions(+), 85 deletions(-) --- Cheers, Benjamin