Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5455823iob; Mon, 9 May 2022 17:20:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUv/xWy/oJMgf9WqhgC+1E4aMmJ9uPVMpuFq3styqmATlyhNXoLY4u4zwvRiP2d03wgNOw X-Received: by 2002:ac8:580b:0:b0:2f3:a523:98fa with SMTP id g11-20020ac8580b000000b002f3a52398famr17710980qtg.338.1652142005118; Mon, 09 May 2022 17:20:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652142005; cv=none; d=google.com; s=arc-20160816; b=ssUSMU5SIlA5QwdWaiDiBNhHl63wjLvXKu4Z7zVCfzcabCNmi7Cp73bPjIyXNYZIGY +xs94YHTQofS318wXOoRR3VSW6eWm+lPcwJ2rYQ15SrZ1CCA1eis8I7UuUNzLopn5clJ pPAjIbOrxwFAt4yYQVmDWm2k8SZ5KeiipkdbDhQeArLRYAH67ubEYpLIbRc+nNNMGXPb laBz3V4Hz8g9nzfR4oQBvj+9QS1FvHC+lUzFnFosUFErvBdogwzCllSmNmtZzWBSSakt YomV96u1BIyKKjEn3WJQxN9RjVZRZ7X8tfDv0T8c8Uod0T0slDvxu8QsscZvp4s1llOs t9eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:dkim-signature; bh=TwRG+JFhON5lLu3KLkH+RkE4aoR4GwpF0SJGcrPkzyY=; b=AIUwDrcXZhabzk9IKxijxgwJD3DTT3rF6cfQ2cy3Wz1XXxIVkAeL9YPlSm61yZ53Bh lXl87ZaoLrltmU41i3RuK29n25HKAwEyyEs1Kmg5Cx6tpu6YNrHNxtMcfuDq43l4aymo ka9URQz1mYQgCCFW+7yaohwh3GNjPX4dq5atAGIXlZk4Vb/7PZ/51BxOFoD8VV4VScdD AO0qevsRP1X61wvZfUvXN0CV+OBhb2k3woY4Qd0vWSgvlpivOwXJZninXxev33BrnzMl 5ivlzsYXB6e85KwuEjMo705onoUURt0cUQTllZMkwnSxgWbHq7grh2qP/2U42GN3pAjY qVbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GaUBnzSy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gm8-20020a056214268800b00444561ea7bcsi11156900qvb.242.2022.05.09.17.19.50; Mon, 09 May 2022 17:20:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GaUBnzSy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232116AbiEIXH4 (ORCPT + 99 others); Mon, 9 May 2022 19:07:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbiEIXHy (ORCPT ); Mon, 9 May 2022 19:07:54 -0400 Received: from mail-oa1-x30.google.com (mail-oa1-x30.google.com [IPv6:2001:4860:4864:20::30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76BB12BA987 for ; Mon, 9 May 2022 16:03:59 -0700 (PDT) Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-e93bbb54f9so16407271fac.12 for ; Mon, 09 May 2022 16:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=TwRG+JFhON5lLu3KLkH+RkE4aoR4GwpF0SJGcrPkzyY=; b=GaUBnzSymG2bC277lQirDdnIofVnOiKg59bWVuHjGiY8uhiH+k8q7VSwTdNCpicNnn FljsK+MAT1P/0QQ/xzrWsyhbf/M+PQTiRj/qAcVmJc5EZHoX9uPlyvwaPERrICUXidzY qtYmMmE2g65NpGUcmiUdS/BmjzZ5oAp1SqeRVr/FtmYMVXqI18tN5w3kFFfeGFtrvgsz h40H+GZd52rHUVkbWadP5NWxBCIiWSKo3kNJDokGzHLDaLlVomnq4Bpmhl+y0paz3ohA d4ghGCOWY+lkgXuDCV79yqnkiKav65pPKkpgH9iPUQnTrkLhHJjdhfAhTEQ/CdKJiyEL NldA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=TwRG+JFhON5lLu3KLkH+RkE4aoR4GwpF0SJGcrPkzyY=; b=FCEBHxcQWtFcDM4Nepc8XHtfU+cyPxR53xfi/2JQ+if2/+D9b5SacolSKH7Tm3FBB7 syWFfX9lM2FuVYOqC33Jea+2cg6s7sEjahKH4wRPNPMZxfqtzoG8RdU2PoPmjm5M5ge5 ht6v42RBtwLhHMfFLLe9EgbM1TwggDG3hFeol4vDvu8/FWD7jD0Tn7C7XdjPEeybBOAr uUD5QJpCMj6+NeYhlyJsYKa7PluFuY+a/l7v1CpNCHClFazCkE7OMkreQq5BjwDrTSCJ KA5SS0OPx3HwNBcm0J1YwYgfwxzL0OZQrGkGcPV0u07SNagW1lNe5om03e+yzqQhSK2B kLsQ== X-Gm-Message-State: AOAM5303wkwAHiPskfPM/liIJf9GO1KhBfx1Y5OtxOtPPS6mkcwNZn/v igvwmxzcEIOVu+kf2uBZUhU= X-Received: by 2002:a05:6870:d69c:b0:de:9925:2baa with SMTP id z28-20020a056870d69c00b000de99252baamr8518578oap.279.1652137438887; Mon, 09 May 2022 16:03:58 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id f13-20020a4a9d4d000000b0035eb4e5a6c6sm5451114ook.28.2022.05.09.16.03.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 May 2022 16:03:58 -0700 (PDT) Sender: Guenter Roeck Message-ID: <4b2a51ec-5643-3429-8271-6d44b9f002b6@roeck-us.net> Date: Mon, 9 May 2022 16:03:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: drivers/hwmon/ltq-cputemp.c:23:2: error: call to undeclared function 'ltq_cgu_w32'; ISO C99 and later do not support implicit function declarations Content-Language: en-US To: Florian Eckert , Randy Dunlap Cc: kernel test robot , Arnd Bergmann , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Alex Shi , Nick Desaulniers , Miguel Ojeda , Nathan Chancellor References: <202205080416.vzIXy16B-lkp@intel.com> <65c92404-1d6f-6969-89bf-20b8eefaeff6@infradead.org> <81b9b2cd3f981b6206e9d8c52b3306b3@dev.tdt.de> From: Guenter Roeck In-Reply-To: <81b9b2cd3f981b6206e9d8c52b3306b3@dev.tdt.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/9/22 01:17, Florian Eckert wrote: > >>> >>> vim +/ltq_cgu_w32 +23 drivers/hwmon/ltq-cputemp.c >>> >>> 7074d0a9275860 Florian Eckert 2017-09-01  20 >>> 7074d0a9275860 Florian Eckert 2017-09-01  21  static void ltq_cputemp_enable(void) >>> 7074d0a9275860 Florian Eckert 2017-09-01  22  { >>> 7074d0a9275860 Florian Eckert 2017-09-01 @23     ltq_cgu_w32(ltq_cgu_r32(CGU_GPHY1_CR) | CGU_TEMP_PD, CGU_GPHY1_CR); >>> 7074d0a9275860 Florian Eckert 2017-09-01  24  } >>> 7074d0a9275860 Florian Eckert 2017-09-01  25 >>> >>> :::::: The code at line 23 was first introduced by commit >>> :::::: 7074d0a92758603369655ef5d4f49e6caaae0b4e hwmon: (ltq-cputemp) add cpu temp sensor driver >>> >>> :::::: TO: Florian Eckert >>> :::::: CC: Guenter Roeck >> >> This driver builds fine if I change it from SOC_FALCON to SOC_XWAY. >> Maybe its Kconfig entry should be stronger? >> >> config SENSORS_LTQ_CPUTEMP >>     bool "Lantiq cpu temperature sensor driver" >> -    depends on LANTIQ >> +    depends on SOC_XWAY > > Fine with me. I think it's better to narrow it down. I'll be happy to accept a patch doing that. Guenter