Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp79436ybv; Wed, 5 Feb 2020 01:31:14 -0800 (PST) X-Google-Smtp-Source: APXvYqxFmJY611GcZ3YCgJOtX4u+MUSl5nfnMpjUGLxZiI61IKlLdHtd3m3O8tBA80TzsvSvE7AN X-Received: by 2002:a9d:4711:: with SMTP id a17mr25963250otf.233.1580895073860; Wed, 05 Feb 2020 01:31:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580895073; cv=none; d=google.com; s=arc-20160816; b=OY2TsN+pE7s79UztGrR38Bs3bJLNAEOjKbj/JVPCH5whq2YlYVpHjGNPfqLFJUE2k6 gUuEq65pLLGOgCGQGQfRMkzHOz28HmVL+6eyRr7+IPVNBOzcqehifQuqJcc9QC47R+Q+ bK6a35VAqGpHSjI6CVM9xhMwfT9RuTUg7ERv0PtsX7omZGeSNuAFBP8LDV1lAbwu/TTO 26ricqfCWVZvtTdBIAWdwzmfPqQoAUOWQelNbDXg3gaofbxkmBuZPytyzYp4Sxt49E0k m5gAdYa4oWAtNuEk0PROPXlSFY9brLDb0X+mkzHvyVuFeWxMij0MzCrCVwqIgtP4bzlF ygnw== 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=mLzbOaKciKb+t7JDwHDxLmwtUh2PBXuLzYDqe/A531Q=; b=l0l/ub+Vjzbk6zpiXT9bFGMXwPCjg6xuaS5rg1YWgIDCyfx49bnRu2Eg2veAT61Vmp A0pImkL98aV5rc5vXssJHASyHD7wnhhdRRYWUZFN7mhXCb7sb/yNTFFsrdeaufL73POR VG7iKyoRge6PbU55Al6un+6fWjfMgzd/bolCqWVuu7oF9cUS6MW6gDvOQTb5N2ArOZA6 P3UEz31TsLJQ2CWrlk0qj1dsHqdc77k7H0Qk7gRdQstqk8kcWnMPTWAXHJh9LE2Vbmx4 jlkxLUedVSjRWHQtNE5T74Aq3g8cMaCQvCNrs1zhmPvpSzxfQVzNun+TWLeYNBHmtmc+ 39hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dnD3wItV; 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 s26si3874156otp.172.2020.02.05.01.31.00; Wed, 05 Feb 2020 01:31:13 -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=dnD3wItV; 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 S1728209AbgBEJ2l (ORCPT + 99 others); Wed, 5 Feb 2020 04:28:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:32872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728078AbgBEJ2k (ORCPT ); Wed, 5 Feb 2020 04:28:40 -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 A59BC20659; Wed, 5 Feb 2020 09:28:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580894920; bh=+3IRa4bmKNZ7uasdvFl0JKG0KAwk9cNuWiw/XoUD+gc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dnD3wItV8pPshlAkZ5wa4Z5UnEbyjMzuYxBp69Z7KkpO9q44ykd1gmzo9/ZXXI4tS bmYOay2fZLJZlDOkawdEtEvCZDSgxrP3tlmxXdlRZXu630ZnrGbo30ysY7c58Kb7+R Txtw1dWeCNCNWpLJdh20k6z3SjsY4KqVirbbBVg0= Date: Wed, 5 Feb 2020 09:28:37 +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: <20200205092837.GA1164405@kroah.com> References: <20200203161917.612554987@linuxfoundation.org> <20200203161925.451117468@linuxfoundation.org> <20200204081155.GC26725@localhost> <20200204100332.GC1088789@kroah.com> <20200204101855.GI26725@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200204101855.GI26725@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 11:18:55AM +0100, Johan Hovold wrote: > On Tue, Feb 04, 2020 at 10:03:32AM +0000, Greg Kroah-Hartman wrote: > > 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". > > Ah, yeah, could be dependencies otherwise, but then you usually send a > notice about that. And in this case this is the last commit to this > particular driver in Linus's tree too. Yes, things went a bit sideways for this round for various reasons :(