Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp592047ybl; Thu, 12 Dec 2019 01:29:56 -0800 (PST) X-Google-Smtp-Source: APXvYqzTQ2C0WO20L2joBe+DZAe1lQgxTCCF+E1L3URTgkyIq4BE/v/f3zVhs2/7uv8jFLVhNKTb X-Received: by 2002:a9d:7a8a:: with SMTP id l10mr7299797otn.309.1576142996425; Thu, 12 Dec 2019 01:29:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576142996; cv=none; d=google.com; s=arc-20160816; b=zpGgoV0kmwowjF67YXhkdZOGYH45e4I6jpkKUFVtrIO5us9vrm8TomAYFe7fgFQTgl QyiRC/i3vf5w/T4T6RYiP7VTtIBcq9KhTbvOeA4qLYLdUE6jbK5t5YsYagdSviSAuc46 +p3eKX7KzqCDJUOInOmj/BGxxOlMqzG6HlHfsDaJATkxKT22U5oK8HSpFI7TwLHl/AKn q+UnTRnQ37nhqcLs7QN92UbmFr4UfVCkHhwovMNOu91of9yGQ7u/2HLaSEGwhOKa3Rg+ bVW8xuoKrnsq/vuhIU3loQB61T7pO7uS169xVJ66Tp4l/I5FgF0Cs7Q+61M+9woVPy4J gvVQ== 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=LURWB7IPn2xebRXLRJLfXE/2zhnJQAov8ugdWAGE32Q=; b=n4XWIw9uMDvYHsVC1JTjCUnBV0iVgiVgGC9ja12Zz37w9++2tOQb4WyAiNzLGTF5tS w4qN7xIXMAkZWs+U4M8QW7C88CUkn0YXAA55G+Xyzf5jJUykxgPcn9AZ+Ct5yG1q/sVW K8XNS49FhKSrWxOgIaUqDQ74WtlcxS24ucPMnRsEyFmuOmUZDX1RWtSooC+/O2MHBVQX o1s0oTbOU9KCWEKGuQZepwRDKN+xJRSj2vy9iYLCjsXxRTOjKYjTDLWDNioHhMUX5HmM hB0Y73tcvY/ZXjg76DfFQjyWGpuISvcsTPBh7kN79fYijt6P6gevaxGpx/afa5NxYN8H QQLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Fkv6ANwW; 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 h18si3072546otj.114.2019.12.12.01.29.43; Thu, 12 Dec 2019 01:29:56 -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=Fkv6ANwW; 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 S1728339AbfLLJ2K (ORCPT + 99 others); Thu, 12 Dec 2019 04:28:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:56448 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726382AbfLLJ2J (ORCPT ); Thu, 12 Dec 2019 04:28:09 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 DDEC221655; Thu, 12 Dec 2019 09:28:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576142888; bh=LURWB7IPn2xebRXLRJLfXE/2zhnJQAov8ugdWAGE32Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Fkv6ANwWodj6MoID/TlWL5GVntVWcTHamaWlMTDefa8u3sP5GdN4vsGCdjMPIkmGw 7/Gi+PNgYjyqg6aSuhPSvMYXY1FUTyTFZ8SQoSYFn5eBBd4806h1t96PHv16VP5LAm LnmRQTmozPU01wWnhRnZeeSH0R2g/0srD7D8INrk= Date: Thu, 12 Dec 2019 10:28:05 +0100 From: Greg KH To: zhong jiang Cc: Heikki Krogerus , linux@roeck-us.net, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: typec: fusb302: Fix an undefined reference to 'extcon_get_state' Message-ID: <20191212092805.GA1375559@kroah.com> References: <1576136063-50916-1-git-send-email-zhongjiang@huawei.com> <20191212090132.GC31345@kuha.fi.intel.com> <5DF20530.2040509@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5DF20530.2040509@huawei.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 12, 2019 at 05:15:28PM +0800, zhong jiang wrote: > On 2019/12/12 17:01, Heikki Krogerus wrote: > > On Thu, Dec 12, 2019 at 03:34:23PM +0800, zhong jiang wrote: > >> Fixes the following compile error: > >> > >> drivers/usb/typec/tcpm/fusb302.o: In function `tcpm_get_current_limit': > >> fusb302.c:(.text+0x3ee): undefined reference to `extcon_get_state' > >> fusb302.c:(.text+0x422): undefined reference to `extcon_get_state' > >> fusb302.c:(.text+0x450): undefined reference to `extcon_get_state' > >> fusb302.c:(.text+0x48c): undefined reference to `extcon_get_state' > >> drivers/usb/typec/tcpm/fusb302.o: In function `fusb302_probe': > >> fusb302.c:(.text+0x980): undefined reference to `extcon_get_extcon_dev' > >> make: *** [vmlinux] Error 1 > > There are stubs for those functions so that really should not be > > happening. I can not reproduce that. > It can be reproduced in next branch. you can try it in the latest next branch. Can it be reproduced in 5.5-rc1?