Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1407024pxk; Mon, 31 Aug 2020 19:34:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZZ9mPTJmjAPLbmqqDiRLuyCtXbPGBuefmzVcVNljz4quLYV4SGZlI/cqVulvZH2ciNOkG X-Received: by 2002:a17:906:ae45:: with SMTP id lf5mr3414531ejb.339.1598927646017; Mon, 31 Aug 2020 19:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598927646; cv=none; d=google.com; s=arc-20160816; b=qOS9IKh50fiTFg9+i+tfXMmEs9RyQXcJ42n/Dq4CsQcjftrLDiPXTWv6ib5JYub17p NqtsrIaM0JaoKLW8jmi4FYUJdPSI3SnLypJC5JOsz6lpWoEkDDS8XlkCLrjJFRotZT6H nas1cfzffe6U90cbSZKModnPbqRpJ53LJxlKB+XzSA4WIcNh9HlQVKYzhrY/fuRFu/25 edX3EswQiPZMOcHR0hfKvzF7XlGKCFhnUfyQeniqFjKPsG+2kauUdmApz8Aip7IRLb5E 7Ge3HjYY+JFVoDhewiJRLY3ASz6zWhwsi7XncIqi5BwZEfc65IPqTobnNPvsp9kt5NVv GVZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=8cuCW4UG5Ed1e/kY33jplyyTlIIty/LC2aDLumsAvBg=; b=P4ryldYuaQigB/6Z7FJidogiA0N8RFijinRrhZmYXvSQUsnfULu/TUhlY1KEIfGmAI 6bDq72YNFgfxyGiSMb8KWZ3NIbYGWEnJveri0XeEF+PYM/sVBISilggDAh18VQLc2uc3 aVOSAqjlNkPwsaSqjJSEfA4/VxpMZgsBFUdX5HxmpDIFc4FuQ7ooRELqlbRkm+ETHLQL +nYXgdpXXZTMthb8YXHEhrVPWThqanxPs4fSNOH+bg7n6p3+hXOHmZUe/i6ehoSYM6DI Sc3mHQTrplvIlc6aoXtMmleFVVrFM3P95+TvW0eZjrSvQ1hhh+QVfNZKody9UumSziPY E2/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=jRTKU7Rl; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ec15si6372637ejb.236.2020.08.31.19.33.43; Mon, 31 Aug 2020 19:34:06 -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=@google.com header.s=20161025 header.b=jRTKU7Rl; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726173AbgIACcp (ORCPT + 99 others); Mon, 31 Aug 2020 22:32:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726020AbgIACcn (ORCPT ); Mon, 31 Aug 2020 22:32:43 -0400 Received: from mail-ua1-x943.google.com (mail-ua1-x943.google.com [IPv6:2607:f8b0:4864:20::943]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8A6FC06136D for ; Mon, 31 Aug 2020 19:32:43 -0700 (PDT) Received: by mail-ua1-x943.google.com with SMTP id g11so2704950ual.2 for ; Mon, 31 Aug 2020 19:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=8cuCW4UG5Ed1e/kY33jplyyTlIIty/LC2aDLumsAvBg=; b=jRTKU7RlvutznVWkIyYAQAks/zFgT9iRl7hrrn3kcFYyCAJ0TmlZlkArx95l9Wg1lt J9etQ/nSkA3OLkb4r8u/VkG9O4VRi9WVjp0eoPcaKZYqf/+tkILRKdewR4xfz3N5+oqO hST/V4wQqatuza8EmZcxORiybaTLAuN2bHRGtKC2+7SOTiP2kHryFvG6/J8Cr7wJS8vy ZYKWfFxpnfHznPnSJErNWYuHa5/WTThyc7+cphuzXA/v5ATwx5UI/ctnEukQ7pGPxl4V iMxbKpHFmU1djdC9ZvHZ1mStOIh6ZHXcB0ENnPEHiWbG0LTuffnSNN83UmuzQDWW9uzr vBbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=8cuCW4UG5Ed1e/kY33jplyyTlIIty/LC2aDLumsAvBg=; b=JjUhTedc+D+438aKdhjEhQg8CSUOV9GN1Yh24l65klaDrZ8BOhmAMRG6vxUnZWRSRO mpV3029eufO7hgFpo36F5IHKM9usfO7qLPITG4yCtcWuu8oNXK1HSoinW8OkFdfDxdXM t6maiWPi6RlbIWKCO3Au7tXreHvdNNDxXDzMMDovX6usuxhiebDCr+IyF9OQXjL5vWlB BFhgyDN4PlKoazbfrFy8FOYctc9/a1TDc/PqdV8dzfwHs//my+L7z3ogdo5RFqDafDJi CxDuN+2CyA3G0bw445ECL+r0aEZ7N7Y0+XPza0patwaDmWDQ8TEJ6kH8C84TpKLfVVWN 8+3w== X-Gm-Message-State: AOAM5324mhL90MEknNpgEbwkyYGVOUcAZmEJ7xW42mfdqnujKIOjc5V2 +Bp06MnV/e/nnpECvqFVX4M21CDsZiCvi/9wDz3ghg== X-Received: by 2002:ab0:14c8:: with SMTP id f8mr3418947uae.23.1598927562467; Mon, 31 Aug 2020 19:32:42 -0700 (PDT) MIME-Version: 1.0 References: <20200706133341.476881-1-lee.jones@linaro.org> <20200706133341.476881-9-lee.jones@linaro.org> <20200706142051.GA3500@dell> <65f27abc-69c8-3877-be5b-e5e478153af9@redhat.com> <20200714135456.GB1398296@dell> In-Reply-To: <20200714135456.GB1398296@dell> From: Badhri Jagan Sridharan Date: Mon, 31 Aug 2020 19:32:06 -0700 Message-ID: Subject: Re: [PATCH 08/32] usb: typec: tcpm: tcpm: Remove dangling unused 'struct tcpm_altmode_ops' To: Lee Jones Cc: Hans de Goede , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, LKML , USB , Guenter Roeck , Heikki Krogerus Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hans, Kernel test robot is still reporting this issue. I have my repo synced to ToT usb-next: Output of git repo: 5fedf0d295d3 (origin/usb-testing, origin/usb-next) Merge 5.9-rc3 into usb-n= ext f75aef392f86 (tag: v5.9-rc3, origin/usb-linus, origin/main) Linux 5.9-rc3 e43327c706f2 Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 dcc5c6f013d8 Merge tag 'x86-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip d2283cdc18d3 Merge tag 'irq-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 0063a82de937 Merge tag 'sched-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Were you able to get your patch merged ? Thanks, Badhri On Tue, Jul 14, 2020 at 6:55 AM Lee Jones wrote: > > On Tue, 14 Jul 2020, Hans de Goede wrote: > > > Hi, > > > > On 7/6/20 4:20 PM, Lee Jones wrote: > > > On Mon, 06 Jul 2020, Hans de Goede wrote: > > > > > > > Hi, > > > > > > > > On 7/6/20 3:33 PM, Lee Jones wrote: > > > > > Looks as though a079973f462a3 ("usb: typec: tcpm: Remove tcpc_con= fig > > > > > configuration mechanism") pulled out the only use of 'tcpm_altmod= e_ops' > > > > > last year. No need to keep it around. > > > > > > > > > > Fixes the following W=3D1 kernel build warning(s): > > > > > > > > > > drivers/usb/typec/tcpm/tcpm.c:1551:39: warning: =E2=80=98tcpm_= altmode_ops=E2=80=99 defined but not used [-Wunused-const-variable=3D] > > > > > 1551 | static const struct typec_altmode_ops tcpm_altmode_ops = =3D { > > > > > | ^~~~~~~~~~~~~~~~ > > > > > > > > > > Cc: Guenter Roeck > > > > > Cc: Heikki Krogerus > > > > > Cc: Hans de Goede > > > > > Signed-off-by: Lee Jones > > > > > > > > This is necessary for adding Display port over Type-C support > > > > on devices using the tcpm code, rather then firmware, to do > > > > the Type-C alt-mode negotiation. > > > > > > > > I have a local patch in my tree which adds support for this. > > > > > > > > But Heikki did not like my approach, so that patch > > > > (which needs the bits you are removing) never landed > > > > upstream: > > > > > > > > https://patchwork.kernel.org/patch/11199517/ > > > > > > > > Which is somewhat old now. > > > > > > Yes, that's a just a little old now. > > > > > > If it drags on for much longer, perhaps consider taking it out for th= e > > > time being and adding it back when you start to make use of it again? > > > > Ok, I've just submitted a reworked patch-series upstream which > > actually uses this code. So please drop this patch from your > > patch-set. > > No problem. > > Thanks Hans. > > -- > Lee Jones [=E6=9D=8E=E7=90=BC=E6=96=AF] > Senior Technical Lead - Developer Services > Linaro.org =E2=94=82 Open source software for Arm SoCs > Follow Linaro: Facebook | Twitter | Blog