From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752373AbaKDHyj (ORCPT ); Tue, 4 Nov 2014 02:54:39 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:29035 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752336AbaKDHyd (ORCPT ); Tue, 4 Nov 2014 02:54:33 -0500 X-AuditID: cbfec7f4-b7f6c6d00000120b-5a-54588636590a Message-id: <1415087669.2389.7.camel@AMDC1943> Subject: Re: linux-next: build failure after merge of the mfd tree From: Krzysztof Kozlowski To: Stephen Rothwell Cc: Lee Jones , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Martinez Canillas Date: Tue, 04 Nov 2014 08:54:29 +0100 In-reply-to: <20141104164005.1a45ad46@canb.auug.org.au> References: <20141104164005.1a45ad46@canb.auug.org.au> Content-type: text/plain; charset=UTF-8 X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-version: 1.0 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNLMWRmVeSWpSXmKPExsVy+t/xy7pmbREhBt1LdC2O/i6wuP/1KKPF 5V1z2CwOLmxjtNi69yq7A6tH440bbB5/n19n8bhzbQ+bx+dNcgEsUVw2Kak5mWWpRfp2CVwZ 29/lF9wSrJjV1sjWwPiHt4uRg0NCwESiY7JIFyMnkCkmceHeerYuRi4OIYGljBLbHtxhhXA+ M0psnXGYGaSKV0BPYt2vuWwgtrCAk8TCzk4wm03AWGLz8iVsIENFBLQlDvwWAOllFpjHKDHh yFWwXhYBVYnPH9eygticAuYSTzsPgsWFBMwkjnx/yQRiMwuoS0yat4gZ4jhlicZ+N4i1ghI/ Jt9jgSiRl9i85i3zBEaBWUg6ZiEpm4WkbAEj8ypG0dTS5ILipPRcQ73ixNzi0rx0veT83E2M kAD+soNx8TGrQ4wCHIxKPLwZ6hEhQqyJZcWVuYcYJTiYlUR4V1cBhXhTEiurUovy44tKc1KL DzEycXBKNTCuvh+/L/LFsTeH3IVLDUSKPsttmhkcIXW2fo+hSdGKY2e2lLAc3G6jfyfKrsA8 6srxw+6CibePuIbP93+WdnZWdOHflq9NlvUa3+vetjGtWO0hov6xUaQ1rYT33Z6zCuGNm9qO n/4Qcb2t+Y+o6aNOYe4HPutqP8z50berRHXfxpD9siZBX/yVWIozEg21mIuKEwE43aKCPgIA AA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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