Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp598379ybl; Thu, 12 Dec 2019 01:37:38 -0800 (PST) X-Google-Smtp-Source: APXvYqyp/b2ufpqSBzZhAjjY24KB6Z/8H3r8ruu+ShCa0LZjPzeisoRVka14cqEV9MclJiWvLHf/ X-Received: by 2002:a9d:1ca:: with SMTP id e68mr7568637ote.102.1576143458408; Thu, 12 Dec 2019 01:37:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576143458; cv=none; d=google.com; s=arc-20160816; b=sEeEGB9AVHYUcKhz9CqoR6Vq6L8On28A4uFb08op5Op9o0vX4KcVsbuQHv2w6hGjAA 4keNAzth1qXo3fUrTGGb6/8J+A9DWR8wdlD417KxUjBdR456iqaCaFGJawvkq6JQFuQ8 1EefJizdr3BT57j6NTHFGWjePE3I9hmGuFyrORe/MQaAz24zXerfv/5NJO2RdXRNHB8t CkTmQRLcqJCHnBL5QT5zdmtfR87jGzIyo+ExAOyOgbMTFp7sTepL6TnSkYiR5FRSQRqv Lf38Pd8Jo3Bf3t0x6zC76oFlKg9Ny2d4SN/rVfupo2VGUN/57X8tIJNd5D5R37gmqBbQ JDEA== 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:in-reply-to :references:subject:cc:to:mime-version:user-agent:from:date :message-id; bh=SvFfn9vhOzyZL9ZdXJFNEONR5oJsB7vV1FEmW5Fd6P0=; b=BqfbwUC+9yMMBRV2LYk5Qd74/XKyMEkuyF3A80joX1rrL7ATrIGmdjA3ovju8A42H/ HpIgyYcXkwXU/8Vn6z4yYtUJEEXu5nVA1lDTLAuEcUCvxcmJl8h9bzMB6j7a9DI3vTyR DuxVhE8Y4AFDXFt4p9rAbJPf0H/FQBl6rBrsSk3vmQzFxmwxx/ugLPzDMUDFZfet7CXA CPNc63veGO383dUsIJr6SeRTFEQQgo3eA8Po0kR3YxWc5NG6rDTXrzIoxO55Y0yzRS29 WScK2qhbazxW7RazT816qe7c0sGIk3DRHuKfc3z0AqqS1ysnJqXX3foSRIjBh5FrznM3 1/KA== ARC-Authentication-Results: i=1; mx.google.com; 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 w5si3000848otq.238.2019.12.12.01.37.25; Thu, 12 Dec 2019 01:37:38 -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; 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 S1728383AbfLLJfh (ORCPT + 99 others); Thu, 12 Dec 2019 04:35:37 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:7677 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728349AbfLLJfh (ORCPT ); Thu, 12 Dec 2019 04:35:37 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D1E4A3178B2DD147BB01; Thu, 12 Dec 2019 17:35:35 +0800 (CST) Received: from [127.0.0.1] (10.133.219.218) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.439.0; Thu, 12 Dec 2019 17:35:32 +0800 Message-ID: <5DF209E3.2080808@huawei.com> Date: Thu, 12 Dec 2019 17:35:31 +0800 From: zhong jiang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Greg KH CC: Heikki Krogerus , , , Subject: Re: [PATCH] usb: typec: fusb302: Fix an undefined reference to 'extcon_get_state' References: <1576136063-50916-1-git-send-email-zhongjiang@huawei.com> <20191212090132.GC31345@kuha.fi.intel.com> <5DF20530.2040509@huawei.com> <20191212092805.GA1375559@kroah.com> In-Reply-To: <20191212092805.GA1375559@kroah.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.133.219.218] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/12/12 17:28, Greg KH wrote: > 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? Yes > . >