Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4797958ybl; Tue, 4 Feb 2020 02:07:02 -0800 (PST) X-Google-Smtp-Source: APXvYqzojyTdIODZXC+q48n5tC5jzj2Wgx7wBqw5kgYrTxHdVZCIJOEP2siW07VpKmE0hZhXjRuv X-Received: by 2002:a05:6808:a11:: with SMTP id n17mr2871040oij.94.1580810822447; Tue, 04 Feb 2020 02:07:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580810822; cv=none; d=google.com; s=arc-20160816; b=tO/Yv678bOYuqLrx14euzCWH9+oz4J0DSaUwToNpJnB/NyeQeKahkpSRAv7CtKebqd uyeLsRFUvzbOtYhnwfx2vbCMYfYuqJ3zPd9pKzKCCBAV06mNsP/rEeN0nwI0DxvZ/cNw sDCeOEDqcKfw93fWNx6FM9E0UZwvvryVST6CmLtmhTarvpESKf6tvvvLUvTf6Bh9B5BH QJbAFP0xRXcnjsIK1y3TldfhD49H4EhDuvvKcXt7YyX9RAOBSvLGeqeZWni4IQblju36 jFp2E49tMLQSyIgneAsFSbKwKvnNnx4gJ86iDOolRQk2yu5RaGMYKlbf1tFOTkyTnVye LFsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=H6R8bEaXw/Xw5V5NnIVp5J9J3W6XjOnoo6o+Qbifv6c=; b=UTSC7mRsCZQYBOR5ZAf0NhbCe2OoMsUZEXj2MBcJjES2LN6oJz9BU7+3+8xFW/9HIb ojrf+TzAlM3TfzNP2gKYTI66wRE93jSxyZRUU8P2lI0v2z3MJn1t7hZmWHrQLB7Vjr3i RaoOrBIcxb2tNsS6WZr1lgJaZrDS0EicMHLB7BXy975d3Txdvg85ODaWxba7K94YyeJg Mk/kmei13gGW5UChNNjT2OgkpUzujn08ZGoWafjxsRWCU/oSu5alr4TW09eaM2t7Jmdm Zl3dwB0hzLsv/pEE5uMDCTa4ts69mlrzLFhTPsbpAu7bDrvjfhQD+qWV97v+7OEJoZ5U kBcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=u4Nq2APg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k19si4577292otp.33.2020.02.04.02.06.50; Tue, 04 Feb 2020 02:07:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=u4Nq2APg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727129AbgBDKFn (ORCPT + 99 others); Tue, 4 Feb 2020 05:05:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:40174 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726554AbgBDKFl (ORCPT ); Tue, 4 Feb 2020 05:05:41 -0500 Received: from localhost (unknown [212.187.182.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ADB6921D7E; Tue, 4 Feb 2020 10:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580810741; bh=ydG7oHl6UEGUJ5PULCZPSOsM9FlmM3TxwNrJs/CzYIM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u4Nq2APgyPAtxR9GfW2rgOgAgLWRzv/9dPZ9DN6ydK0YvYAqO7Xe3KBkDPPFIvlqg GbXfEgRS0xtTUPYVvarpKN5h9EVfztA4G9OZP+ExDnUZ9wgD6h6eJmlpARXKh100uI wvEaw75CZKv+zfNrnFnoJuD9MV1gYMPa3Yd7n0ak= Date: Tue, 4 Feb 2020 10:03:32 +0000 From: Greg Kroah-Hartman To: Johan Hovold Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Vladis Dronov , Dmitry Torokhov , Sasha Levin Subject: Re: [PATCH 5.4 65/90] Input: aiptek - use descriptors of current altsetting Message-ID: <20200204100332.GC1088789@kroah.com> References: <20200203161917.612554987@linuxfoundation.org> <20200203161925.451117468@linuxfoundation.org> <20200204081155.GC26725@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200204081155.GC26725@localhost> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 04, 2020 at 09:11:55AM +0100, Johan Hovold wrote: > On Mon, Feb 03, 2020 at 04:20:08PM +0000, Greg Kroah-Hartman wrote: > > From: Johan Hovold > > > > [ Upstream commit cfa4f6a99fb183742cace65ec551b444852b8ef6 ] > > > > Make sure to always use the descriptors of the current alternate setting > > to avoid future issues when accessing fields that may differ between > > settings. > > > > Signed-off-by: Johan Hovold > > Acked-by: Vladis Dronov > > Link: https://lore.kernel.org/r/20191210113737.4016-4-johan@kernel.org > > Signed-off-by: Dmitry Torokhov > > Signed-off-by: Sasha Levin > > --- > > drivers/input/tablet/aiptek.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c > > index 06d0ffef4a171..e08b0ef078e81 100644 > > --- a/drivers/input/tablet/aiptek.c > > +++ b/drivers/input/tablet/aiptek.c > > @@ -1713,7 +1713,7 @@ aiptek_probe(struct usb_interface *intf, const struct usb_device_id *id) > > > > aiptek->inputdev = inputdev; > > aiptek->intf = intf; > > - aiptek->ifnum = intf->altsetting[0].desc.bInterfaceNumber; > > + aiptek->ifnum = intf->cur_altsetting->desc.bInterfaceNumber; > > aiptek->inDelay = 0; > > aiptek->endDelay = 0; > > aiptek->previousJitterable = 0; > > I asked Sasha to drop this one directly when he added it, so it's > probable gone from all the stable queues by now. Oops, no, let me go drop it. > But I'm still curious how this ended up being selected for stable in the > first place? There's no fixes or stable tag in the commit, and I never > received a mail from the AUTOSEL scripts. I don't know, there was a bunch of last-minute patches picked up for this round based on some "fixes needed due to other fixes". thanks, greg k-h