Re: [PATCH v3 2/3] hwmon: xgene: Add hwmon driver

From: Guenter Roeck
Date: Thu Sep 08 2016 - 10:55:53 EST


On 09/08/2016 01:15 AM, Arnd Bergmann wrote:
On Wednesday, September 7, 2016 3:27:54 PM CEST Guenter Roeck wrote:
On Wed, Sep 07, 2016 at 11:41:44PM +0200, Arnd Bergmann wrote:
On Thursday, July 21, 2016 1:55:56 PM CEST Hoan Tran wrote:
+ ctx->comm_base_addr = cppc_ss->base_address;
+ if (ctx->comm_base_addr) {
+ ctx->pcc_comm_addr =
+ acpi_os_ioremap(ctx->comm_base_addr,
+ cppc_ss->length);


This causes the arm64 allmodconfig build to fail now, according to
kernelci:

1 ERROR: "memblock_is_memory" [drivers/hwmon/xgene-hwmon.ko] undefined!

How do you even get there ? arm64:allmodconfig fails for me in -next with

drivers/pwm/pwm-berlin.c: In function âberlin_pwm_suspendâ:
drivers/pwm/pwm-berlin.c:245:35: error: âstruct berlin_pwm_chipâ has no member named âchipsâ

That was fixed in yesterday's linux-next.


Maybe, but now I get

Building arm:allmodconfig ... failed
--------------
Error log:
crypto/crypto_engine.c: In function 'crypto_transfer_hash_request':
crypto/crypto_engine.c:234:3: error: implicit declaration of function 'queue_kthread_work'

Building arm64:allmodconfig ... failed
--------------
Error log:
arch/arm64/kvm/../../../virt/kvm/arm/arch_timer.c: In function âkvm_timer_hyp_initâ:
arch/arm64/kvm/../../../virt/kvm/arm/arch_timer.c:457:1: warning: label âout_freeâ defined but not used

Guenter