Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp162357ybx; Wed, 30 Oct 2019 13:01:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZQA5fvW0kfzXi0p+k7+scTb4UC8vU6GkX3OxgnfO6W2WoddGKukrToqZnbxTskEk4sbbr X-Received: by 2002:aa7:cb4a:: with SMTP id w10mr1780663edt.28.1572465661501; Wed, 30 Oct 2019 13:01:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572465661; cv=none; d=google.com; s=arc-20160816; b=Wo6qKx2vATjKdVsYPGV+L9amkWYbF6G/de+lcXxTd9ZGoN7apFzYdQLlc4pE0SsS1P SzsSbKrCCLxdpL13MQQOco1pROLw2uYQHrItJpZmAT5sDP2ZCksvHJXNUs3p5GXQeOCA p4OC8oodAA8SJNpQ9MBbfg23H2Wu0MFez6hJuwjMatdr3B5wmMAdilhaw7LEgR8A2L8w S2MGumW8lZI3MnuGtERLGO2JLzeQ/l19Z6d+N7IgoHcy2m422i2auQEyD7vCZyo9m9SW H5VyWaeNxdQUihiinf1FIzkM+33FkEktpUt9qH4ePJMRvCi583P/2PK2ruys+RHNuCW0 B3EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:in-reply-to:mime-version :user-agent:date:message-id:autocrypt:openpgp:from:references:cc:to :subject:dkim-signature; bh=uJHxujovfFJ9h5r77MUYV3oU68SO0pgD7skhSfMTwQQ=; b=nSB40/3KAUZz4OdT+Dz5HGohKfpKAY8YSVjYMl+b7NLq5IKXyXNqBg7iyTmJF361hU WszLe5VLe2zjIXKbsVZpcw7YVDekAYDTchOX70EJitjJDYNv3qSm7fEUnl7TIPdRV/a9 DnuJV5gxB+Cndy3K2zgXcpyxl9Ub8Xgp2kOpvESm7V5qafK++8nmkkcRNjV7CKIyoizQ PlFbGjL6q5EHexyQ7ACygrYuuSlnsfDH5taLCAvtb4tE6ragzAl58U8IE2SGIVRQvVrO 9UGrdQcdl7/OtlFHs9r+4ENeyHlU/r0N4BL7y1KtUk0hL6GydrJd7W6B+WMym0+MHcFN GPSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CCrrh5U9; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cw1si1978538ejb.117.2019.10.30.13.00.37; Wed, 30 Oct 2019 13:01:01 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=CCrrh5U9; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726621AbfJ3T6F (ORCPT + 99 others); Wed, 30 Oct 2019 15:58:05 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55706 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726261AbfJ3T6E (ORCPT ); Wed, 30 Oct 2019 15:58:04 -0400 Received: by mail-wm1-f65.google.com with SMTP id g24so3419463wmh.5; Wed, 30 Oct 2019 12:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=uJHxujovfFJ9h5r77MUYV3oU68SO0pgD7skhSfMTwQQ=; b=CCrrh5U9JnxqTkLCAf0T7LsAyB2pDTxTIkiZFhLRaCwnqMwQbc2XRW5WDfmNhyA/PE xqyA2L4QbZeo4CUKiIPW3gYOY5tIWKgrGRpMtRqkD+TDZ8M44xxBlOr0BSaZMnYikCPc R5+Qel5ioiHEf8ZDP5Et+LInXH9j9rqj4mA4oTsLKZBGLndfUD3i8BI+JlZbxGBc7NII YbZjjZ/YB7Afhhbt5Q2qu9YaLClDW49h4QuKrzQ1d4sL4reDDu+A8gBtVP/XhRzHOh2q HOOVm9xCkubtHo3qfQzEPyiF5yTjXGSa8mI9OL0XGoE08Jae15XMCz96XtYbSgDHreBO oYWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language; bh=uJHxujovfFJ9h5r77MUYV3oU68SO0pgD7skhSfMTwQQ=; b=QswqXXo4PnnoOIxusA1mhYLZcsQPhAQU3CTlbCatT8un3ElRKFbHNvLUdN04f0WYW9 ansXx2uGvH1t16q9NiHIJP+ZMyhcUvKaakY5DRgr3LbUcxwtQNteLzsAViTGg5CuZqyR EeYe3gtLphJyFLAYJItQFGoj1v90r4w6kvC4OQcNMa0r7Mjs/Y7E74e/DnuQVY+3YLHc Plfgmm5fxYERgE3d1mupvHbjRhUISO1hY+hZSMPXC4f9m5zmDDxFUhuD5qSEO+r5PdIn z05uk5nPXVT2qKTpWrfpfPVHrD7VnETlcBLeWO3k4+x2DuSzKuawrDFqiV73tqXawgZG rBmQ== X-Gm-Message-State: APjAAAUwkY5gz2e8wDMj1QrSQ4vYHOliR/3BRIqeORiK7dxFyKdyMTdb izgKvhCvfuP0PZX1zg3Fy4x33gOv X-Received: by 2002:a1c:4c09:: with SMTP id z9mr1107999wmf.33.1572465481289; Wed, 30 Oct 2019 12:58:01 -0700 (PDT) Received: from [192.168.1.19] (bkv74.neoplus.adsl.tpnet.pl. [83.28.189.74]) by smtp.gmail.com with ESMTPSA id b196sm1228119wmd.24.2019.10.30.12.57.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Oct 2019 12:58:00 -0700 (PDT) Subject: Re: [PATCH v15 06/19] leds: lp50xx: Add the LP50XX family of the RGB LED driver To: Dan Murphy , kbuild test robot Cc: kbuild-all@lists.01.org, pavel@ucw.cz, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org References: <20191028183629.11779-7-dmurphy@ti.com> <201910302027.2hNdR993%lkp@intel.com> From: Jacek Anaszewski Openpgp: preference=signencrypt Autocrypt: addr=jacek.anaszewski@gmail.com; prefer-encrypt=mutual; keydata= mQINBFWjfaEBEADd66EQbd6yd8YjG0kbEDT2QIkx8C7BqMXR8AdmA1OMApbfSvEZFT1D/ECR eWFBS8XtApKQx1xAs1j5z70k3zebk2eeNs5ahxi6vM4Qh89vBM46biSKeeX5fLcv7asmGb/a FnHPAfQaKFyG/Bj9V+//ef67hpjJWR3s74C6LZCFLcbZM0z/wTH+baA5Jwcnqr4h/ygosvhP X3gkRzJLSFYekmEv+WHieeKXLrJdsUPUvPJTZtvi3ELUxHNOZwX2oRJStWpmL2QGMwPokRNQ 29GvnueQdQrIl2ylhul6TSrClMrKZqOajDFng7TLgvNfyVZE8WQwmrkTrdzBLfu3kScjE14Q Volq8OtQpTsw5570D4plVKh2ahlhrwXdneSot0STk9Dh1grEB/Jfw8dknvqkdjALUrrM45eF FM4FSMxIlNV8WxueHDss9vXRbCUxzGw37Ck9JWYo0EpcpcvwPf33yntYCbnt+RQRjv7vy3w5 osVwRR4hpbL/fWt1AnZ+RvbP4kYSptOCPQ+Pp1tCw16BOaPjtlqSTcrlD2fo2IbaB5D21SUa IsdZ/XkD+V2S9jCrN1yyK2iKgxtDoUkWiqlfRgH2Ep1tZtb4NLF/S0oCr7rNLO7WbqLZQh1q ShfZR16h7YW//1/NFwnyCVaG1CP/L/io719dP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oZA930TvHA5UeGENxdGqo2MvMdRJ54YaIR Message-ID: <075c9330-a9b5-1360-4447-71a4797553a9@gmail.com> Date: Wed, 30 Oct 2019 20:57:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------A18F7105DE67FD7CD77E8C5B" Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------A18F7105DE67FD7CD77E8C5B Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Dan, On 10/30/19 5:41 PM, Dan Murphy wrote: > Hello > > On 10/30/19 7:07 AM, kbuild test robot wrote: >> Hi Dan, >> >> I love your patch! Yet something to improve: >> >> [auto build test ERROR on j.anaszewski-leds/for-next] >> [also build test ERROR on v5.4-rc5 next-20191029] > > I went to both these references and I do not see this patchset on either > of these. This branch is temporarily created by build bot by applying patch sets from lists on top of linux-leds for-next branch. >> [if your patch is applied to the wrong git tree, please drop us a note >> to help >> improve the system. BTW, we also suggest to use '--base' option to >> specify the >> base tree in git format-patch, please see >> https://stackoverflow.com/a/37406982] >> >> url:??? >> https://github.com/0day-ci/linux/commits/Dan-Murphy/Multicolor-Framework/20191030-144320 >> > It appears here though >> base:?? >> https://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git >> for-next > > Does not appear here > > Finally not sure why the MIPS compiler is complaining about this but the > ARM and x86 is not Compilation breaks also for ARM. This is not architecture specific but language specific thing. If you enter this error message got Google you will get an answer to why this happens in the first result. You need to patch your driver with the attached one. -- Best regards, Jacek Anaszewski --------------A18F7105DE67FD7CD77E8C5B Content-Type: text/x-patch; name="fix_lp50xx_struct_initialization.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="fix_lp50xx_struct_initialization.patch" diff --git a/drivers/leds/leds-lp50xx.c b/drivers/leds/leds-lp50xx.c index 76ca5cc1347c..52246565f15d 100644 --- a/drivers/leds/leds-lp50xx.c +++ b/drivers/leds/leds-lp50xx.c @@ -336,7 +336,7 @@ enum lp50xx_model { * @reset_reg: device reset register */ struct lp50xx_chip_info { - const struct regmap_config lp50xx_regmap_config; + const struct regmap_config *lp50xx_regmap_config; int model_id; u8 max_modules; u8 num_leds; @@ -357,7 +357,7 @@ static const struct lp50xx_chip_info lp50xx_chip_info= _tbl[] =3D { .bank_brt_reg =3D LP5012_BNK_BRT, .bank_mix_reg =3D LP5012_BNKA_CLR, .reset_reg =3D LP5012_RESET, - .lp50xx_regmap_config =3D lp5012_regmap_config, + .lp50xx_regmap_config =3D &lp5012_regmap_config, }, [LP5012] =3D { .model_id =3D LP5012, @@ -368,7 +368,7 @@ static const struct lp50xx_chip_info lp50xx_chip_info= _tbl[] =3D { .bank_brt_reg =3D LP5012_BNK_BRT, .bank_mix_reg =3D LP5012_BNKA_CLR, .reset_reg =3D LP5012_RESET, - .lp50xx_regmap_config =3D lp5012_regmap_config, + .lp50xx_regmap_config =3D &lp5012_regmap_config, }, [LP5018] =3D { .model_id =3D LP5018, @@ -379,7 +379,7 @@ static const struct lp50xx_chip_info lp50xx_chip_info= _tbl[] =3D { .bank_brt_reg =3D LP5024_BNK_BRT, .bank_mix_reg =3D LP5024_BNKA_CLR, .reset_reg =3D LP5024_RESET, - .lp50xx_regmap_config =3D lp5024_regmap_config, + .lp50xx_regmap_config =3D &lp5024_regmap_config, }, [LP5024] =3D { .model_id =3D LP5024, @@ -390,7 +390,7 @@ static const struct lp50xx_chip_info lp50xx_chip_info= _tbl[] =3D { .bank_brt_reg =3D LP5024_BNK_BRT, .bank_mix_reg =3D LP5024_BNKA_CLR, .reset_reg =3D LP5024_RESET, - .lp50xx_regmap_config =3D lp5024_regmap_config, + .lp50xx_regmap_config =3D &lp5024_regmap_config, }, [LP5030] =3D { .model_id =3D LP5030, @@ -401,7 +401,7 @@ static const struct lp50xx_chip_info lp50xx_chip_info= _tbl[] =3D { .bank_brt_reg =3D LP5036_BNK_BRT, .bank_mix_reg =3D LP5036_BNKA_CLR, .reset_reg =3D LP5036_RESET, - .lp50xx_regmap_config =3D lp5036_regmap_config, + .lp50xx_regmap_config =3D &lp5036_regmap_config, }, [LP5036] =3D { .model_id =3D LP5036, @@ -412,7 +412,7 @@ static const struct lp50xx_chip_info lp50xx_chip_info= _tbl[] =3D { .bank_brt_reg =3D LP5036_BNK_BRT, .bank_mix_reg =3D LP5036_BNKA_CLR, .reset_reg =3D LP5036_RESET, - .lp50xx_regmap_config =3D lp5036_regmap_config, + .lp50xx_regmap_config =3D &lp5036_regmap_config, }, }; =20 @@ -716,7 +716,7 @@ static int lp50xx_probe(struct i2c_client *client, i2c_set_clientdata(client, led); =20 led->regmap =3D devm_regmap_init_i2c(client, - &led->chip_info->lp50xx_regmap_config); + led->chip_info->lp50xx_regmap_config); if (IS_ERR(led->regmap)) { ret =3D PTR_ERR(led->regmap); dev_err(&client->dev, "Failed to allocate register map: %d\n", --------------A18F7105DE67FD7CD77E8C5B--