Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp615753ima; Fri, 26 Oct 2018 04:00:04 -0700 (PDT) X-Google-Smtp-Source: AJdET5eEzQyGpOyEmXGnHqgvwHutyZBHBVkbo9WLAHKcekZLG64bhFTWfL3r91gbSLmyzE/4sRzO X-Received: by 2002:a65:5a05:: with SMTP id y5-v6mr2983254pgs.161.1540551604404; Fri, 26 Oct 2018 04:00:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540551604; cv=none; d=google.com; s=arc-20160816; b=NAnvRABB5uxxGtpj51CCE5t5hLr4EuMwv8oIi7VY0WXvUxv09oMOpCefPVrxlo/orx Lns1P8ftrP4vbN9e2+QjvArQmgMLcYGSYsIXG+8kz+9axnLCCmdSGN7lOxo19LKDxJdY c7kIxJyi3nhThh9PQK4mPr0xFB5MnDAuegfm+yLkgWA1sMDbdZ/u1AAOXt3IgDi9Ug55 Yi7ycVJbSJW3zv/HVEMqoE7oT8grwZwGXuUseB1QHi2W9ONUGY6sQbCqqUSdzPz+aQ7A sHFYXee1Jb82pfWLhyfESW0vmot6w4LDpp71ATlq+QHHCq0D60ygBQuE6klu4OFqo9Qe 1qHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=drgyvTpwaXiM02NWxiGn7xAp5ZgY8Mp08kylG9IWk3A=; b=IN6wQJy8Xiw7TuA+T4YH5ZLKhNfhoiLXSHtq0z6h4nn7DmgbhXFy3meUL90uQoQymE Aye3uKbwtmr5RLBf+7NzbFE60AqUA+khjo7m8pNYjFKGT5nsfat+pEcGsEsD7vj7VNEY t26Uq7+Pi95nRkJ3EGRuytlifmBbNs7tgT2gHROHvwBwHZrWVpQF92emByAiXjYJByWc PHDaxB2LiCM3hBIpq2PLVORtWLxHtUWXBoYBrSzwfXGkxc7A3AALu6rfB6o3iTMUKWpV 1NhC9kcaXB+SP4OVPSO7Dwo5aGIortociPg/k+MlAIeO1McIWvKhjYGzNQY3jb31BQkl pXVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=niLVwYA+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6-v6si10209777plq.275.2018.10.26.03.59.48; Fri, 26 Oct 2018 04:00:04 -0700 (PDT) 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=niLVwYA+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727265AbeJZTf4 (ORCPT + 99 others); Fri, 26 Oct 2018 15:35:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:37170 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbeJZTf4 (ORCPT ); Fri, 26 Oct 2018 15:35:56 -0400 Received: from localhost (unknown [167.98.65.38]) (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 E1C9A20856; Fri, 26 Oct 2018 10:59:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540551558; bh=+WmK2EoimfOsr0XVBjFrvCTShi52p4aOPQbSisSRB7c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=niLVwYA+Fn1W7LXJcu1IA3pcJdwU0aueIeM4KuhKnK30W8dH08Mck47MGm29+lNhT g4MxOTl39P0AQMwp8QrRtYIPm4RjbDzHsA1QaUAovSKeG06DJ2aRj0vUCk2wuaKAsk PvMQPH9eUH03aVrUl1S+yhHq7i7KQBjGtjLhZAfw= Date: Fri, 26 Oct 2018 06:59:16 -0400 From: Sasha Levin To: Johan Hovold Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org, =?iso-8859-1?Q?Bj=F8rn?= Mork Subject: Re: [PATCH AUTOSEL 3.18 04/98] USB: qcserial: Fix support for HP lt4112 LTE/HSPA+ Gobi 4G Modem Message-ID: <20181026105916.GE2015@sasha-vm> References: <20181025141853.214051-1-sashal@kernel.org> <20181025141853.214051-4-sashal@kernel.org> <20181026084920.GB27852@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181026084920.GB27852@localhost> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 26, 2018 at 10:49:20AM +0200, Johan Hovold wrote: >On Thu, Oct 25, 2018 at 10:17:19AM -0400, Sasha Levin wrote: >> From: Bj?rn Mork >> >> [ Upstream commit 59536da34513c594af2a6fd35ba65ea45b6960a1 ] >> >> The DEVICE_HWI type was added under the faulty assumption that Huawei >> devices based on Qualcomm chipsets and firmware use the static USB >> interface numbering known from Gobi devices. But this model does >> not apply to Huawei devices like the HP branded lt4112 (Huawei me906e). >> Huawei firmwares will dynamically assign interface numbers. Functions >> are renumbered when the firmware is reconfigured. >> >> Fix by changing the DEVICE_HWI type to use a simplified version >> of Huawei's subclass + protocol scheme: Blacklisting known network >> interface combinations and assuming the rest are serial. >> >> Reported-and-tested-by: Muri Nicanor >> Tested-by: Martin Hauke >> Cc: >> Fixes: e7181d005e84 ("USB: qcserial: Add support for HP lt4112 LTE/HSPA+ Gobi 4G Modem") >> Signed-off-by: Bj?rn Mork >> Signed-off-by: Johan Hovold >> Signed-off-by: Sasha Levin > >This one is interesting though; it was marked for stable and has a >proper fixes tag for a commit that went into 4.19. That patch in turn >had a stable tag (new device id type patch) and was backported also to >other active stable trees at the time. > >Guess the stable maintainers need to check if the offending patch has >already been backported when determining how far back to apply a follow >up fix. > >Note that the stable tag above lacks a version comment (e.g. "# 4.19"), >but I can see how that may be too subtle to convey this (and not all >maintainers use those). Perhaps an explicit comment should just be added >in such cases. Right, the whole "fix for a fix" issue is what this patch series tries to address (you'll notice that *most* commits follow this pattern). I'm not sure why Greg's tools missed it to begin with, but hopefully this patch series will catch up with that. -- Thanks, Sasha