[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1415087669.2389.7.camel@AMDC1943>
Date: Tue, 04 Nov 2014 08:54:29 +0100
From: Krzysztof Kozlowski <k.kozlowski@...sung.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Lee Jones <lee.jones@...aro.org>, linux-next@...r.kernel.org,
linux-kernel@...r.kernel.org,
Javier Martinez Canillas <javier.martinez@...labora.co.uk>
Subject: Re: linux-next: build failure after merge of the mfd tree
On wto, 2014-11-04 at 16:40 +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the mfd tree, today's linux-next build (powerpc allyesconfig)
> failed like this:
>
> drivers/regulator/max77686.c:432:13: warning: 'struct max77686_platform_data' declared inside parameter list
> struct max77686_platform_data *pdata)
> ^
> drivers/regulator/max77686.c:432:13: warning: its scope is only this definition or declaration, which is probably not what you want
> drivers/regulator/max77686.c: In function 'max77686_pmic_dt_parse_pdata':
> drivers/regulator/max77686.c:447:7: error: dereferencing pointer to incomplete type
> pdata->num_regulators = ARRAY_SIZE(regulators);
> ^
> drivers/regulator/max77686.c:448:42: error: dereferencing pointer to incomplete type
> rdata = devm_kzalloc(&pdev->dev, sizeof(*rdata) *
> ^
> drivers/regulator/max77686.c:449:14: error: dereferencing pointer to incomplete type
> pdata->num_regulators, GFP_KERNEL);
> ^
> drivers/regulator/max77686.c:455:23: error: dereferencing pointer to incomplete type
> for (i = 0; i < pdata->num_regulators; i++) {
> ^
> drivers/regulator/max77686.c:460:3: error: invalid use of undefined type 'struct max77686_regulator_data'
> rdata[i].initdata = rmatch.init_data;
> ^
> drivers/regulator/max77686.c:460:8: error: dereferencing pointer to incomplete type
> rdata[i].initdata = rmatch.init_data;
> ^
> drivers/regulator/max77686.c:461:3: error: invalid use of undefined type 'struct max77686_regulator_data'
> rdata[i].of_node = rmatch.of_node;
> ^
> drivers/regulator/max77686.c:461:8: error: dereferencing pointer to incomplete type
> rdata[i].of_node = rmatch.of_node;
> ^
> drivers/regulator/max77686.c:464:7: error: dereferencing pointer to incomplete type
> pdata->regulators = rdata;
> ^
>
> And so on ...
>
> Caused by commit 9d5f4c2c748e ("mfd: max77686/802: Remove support for
> board files") from the mfd tree.
>
> I reverted that commit for today.
The commit depends on other patches from a set which hadn't been
applied. Please drop it.
Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists