Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp484284pxy; Thu, 22 Apr 2021 06:43:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwy5SOhxxo0O7E9Vn6srqR3j3Zc7MhEbOY+6V3FdfX2HlD/u800CuschrrR2G4SfiHM+KcA X-Received: by 2002:a17:90b:2303:: with SMTP id mt3mr72590pjb.167.1619099039467; Thu, 22 Apr 2021 06:43:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619099039; cv=none; d=google.com; s=arc-20160816; b=PEQ4HEskEjDcgTQXSv558WMzLKDNGzNSlei70buz3DbjLrkCrisXD6vtksGwq6j7kh Yn4CucTDJ08QCO6Ui50ZHeFYWwKSitBUitzZ4v+HGvIE+3Co/1XZHEVxEe+Fk+Fjsno7 5gQzgRpCowyGBoAtdq5U41GCohlHmliLgtza5oaVtdo3P2hx2QkOyccV21gt8Bi/EHsE 3rFUHqSu5G5NFRSEitukDYOjnSvLhVBueafNDssWsAB6QVvPmNyUtHTojogkieC53SgN yyy45ZjOTS/O+EckRcf+s+GwMNRsSVvf0RApniZU8ghv3Hnh7EwQBu17lCaFAMlFrMtU mWDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dmarc-filter:sender:dkim-signature; bh=dC0ZEqAmDS6CmHmLUxQbdaNlksibBx0m9qEKhioaIbE=; b=w6F5gD7gdu1zWkj4w8xx/xYaxw/GGPcvY+0Xb7xa9N+4qAJ8eRgJM5XGdnMHL4E6pZ lcmYL7g75Ga7xWx6PpW0DGNFvtoE+k6i/wsB1xCjopxuKPGg4B4JOrvhyH9Dl+c+7S7k bZpSPb3o5vjO7le6o8YSk4dOFXJWTBzW9b5r64+M7eZ+Ku+utXVTPXwBQ3/NCS3BsPkn XLmtMSQn1qBs9nPLvB8LzryTIHQN3hqc6I+YJsFbzK5Z0kByio+0lyUjVeEjqa4yw0x0 Yvs+ntB5FQr98OVV2rgmymkco4SsG1fSH46DU4IW5kdCkzXakazRgxkbFEuGu5CN4FSw Eavg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=hszTbjz0; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x29si3471023pgc.534.2021.04.22.06.43.46; Thu, 22 Apr 2021 06:43:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@mg.codeaurora.org header.s=smtp header.b=hszTbjz0; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236438AbhDVNnz (ORCPT + 99 others); Thu, 22 Apr 2021 09:43:55 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:20889 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232844AbhDVNny (ORCPT ); Thu, 22 Apr 2021 09:43:54 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1619099000; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=dC0ZEqAmDS6CmHmLUxQbdaNlksibBx0m9qEKhioaIbE=; b=hszTbjz0dzDEP2aa0dUzLX9Rfh4ZS5QZdpqcymN3/ntsSCSQnyOOW0dEeUt3+1cn/kbEV1GC 4wuqGDzyVc99TCE36e01UBXGw+i866QFUB2bOa+9XwWFmpKrxING4XFuauYf6+8HQEP0jl8l LyjcN0ZXaCC6qLSaODfD6B+fud4= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 60817d5c03cfff34528148b9 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 22 Apr 2021 13:42:52 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 30E07C4338A; Thu, 22 Apr 2021 13:42:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,BAYES_00, MISSING_DATE,MISSING_MID,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id CD15DC433D3; Thu, 22 Apr 2021 13:42:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CD15DC433D3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH -next v2] drivers: net: CONFIG_ATH9K select LEDS_CLASS and NEW_LEDS From: Kalle Valo In-Reply-To: <20210330120533.102712-1-zhangjianhua18@huawei.com> References: <20210330120533.102712-1-zhangjianhua18@huawei.com> To: Zhang Jianhua Cc: , , , , , , , User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20210422134251.30E07C4338A@smtp.codeaurora.org> Date: Thu, 22 Apr 2021 13:42:51 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Zhang Jianhua wrote: > If CONFIG_ATH9K=y, the following errors will be seen while compiling > gpio.c > > drivers/net/wireless/ath/ath9k/gpio.o: In function `ath_deinit_leds': > gpio.c:(.text+0x604): undefined reference to `led_classdev_unregister' > gpio.c:(.text+0x604): relocation truncated to fit: R_AARCH64_CALL26 > against undefined symbol `led_classdev_unregister' > drivers/net/wireless/ath/ath9k/gpio.o: In function `ath_init_leds': > gpio.c:(.text+0x708): undefined reference to `led_classdev_register_ext' > gpio.c:(.text+0x708): relocation truncated to fit: R_AARCH64_CALL26 > against undefined symbol `led_classdev_register_ext' > > Reported-by: Hulk Robot > Signed-off-by: Zhang Jianhua > Signed-off-by: Kalle Valo Recently there was a related fix, I need more information about this problem. What is exactly causing this? Is this a recent regression or an old problem? Can someone review this? -- https://patchwork.kernel.org/project/linux-wireless/patch/20210330120533.102712-1-zhangjianhua18@huawei.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches