From patchwork Mon Apr 30 11:14:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10371443 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EF6636053E for ; Mon, 30 Apr 2018 11:15:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC89C28A80 for ; Mon, 30 Apr 2018 11:15:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CDEB128A87; Mon, 30 Apr 2018 11:15:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 004FA28A80 for ; Mon, 30 Apr 2018 11:15:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pRRTbzCBXp5n3d0ZSXxMCExaqPG8jyzcAtDPbGa7e60=; b=HbJNm/gvjO32k2 ZnRjhQ3IbQeCXM2bg2Ztv5d5UYEGiqWYvxrt+yIHIil9ecTtiyADQSXuy7xJxU78m1EMZj3FEWlhh oqp8B2JJMBjIrrLtCN2wk+vUqJASEyQtOBPnq/PVum5uH4fZ+3PvKjJ0LvFRJUeRfdTpnbDThQPLw hXdtbTBoYAk5eftqikbcouHXEVG7xqYMgziQxybni7SCq/+TEbWZm+PFdrYwk9s9plUT1BKeAQ2vn c4E7JQcy/AlQzwyonX0rISVd1JKb+Hkl64tEgvhQ1gqpU+HcYPztm8ngL0PcFWfIEobweWt0uA7WW ZoxKxBBty4X1ksPr1LNA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fD6lu-0003E9-TU; Mon, 30 Apr 2018 11:15:06 +0000 Received: from mail-he1eur01on0109.outbound.protection.outlook.com ([104.47.0.109] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fD6lN-0002xV-83; Mon, 30 Apr 2018 11:14:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0ZnSABO/RTacfKRwaOPaV5qcRi6oFg8ktdpIjFsMG0g=; b=SBkYGgdsc46QKMYRd3NN3OGJ1Ne2O5R7iP4zyynA19V2HG1lAc6b6YjGxqxfg3RtfCzz0Tk9f/HWEDJ0AlNtHfu/eA2lMdYne6uXf3Ds+URYQD/odNM7GUG77cQ7PucP7yCWbsOCpqkLDCcDwhGhGMUdBRVkj+MZo4tSygJEHfw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from [192.168.13.3] (85.226.244.23) by AM4PR0202MB2770.eurprd02.prod.outlook.com (2603:10a6:200:8c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.715.18; Mon, 30 Apr 2018 11:14:11 +0000 Subject: Re: [PATCH 22/24] drm/bridge: remove the .of_node member To: kbuild test robot References: <20180426223139.16740-23-peda@axentia.se> <201804281608.Iji1Keed%fengguang.wu@intel.com> From: Peter Rosin Organization: Axentia Technologies AB Message-ID: Date: Mon, 30 Apr 2018 13:14:08 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <201804281608.Iji1Keed%fengguang.wu@intel.com> Content-Language: en-US X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR05CA0250.eurprd05.prod.outlook.com (2603:10a6:3:fb::26) To AM4PR0202MB2770.eurprd02.prod.outlook.com (2603:10a6:200:8c::20) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:AM4PR0202MB2770; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 3:QbKD30JMhM3PlBxVlNkxqT3zWrtyc3b2E8UWFqol3fMFAuS4Z6u8CAQv9pP++oCtweKgCa+DgnBzJF/PoddbsL4CYjc3wORbyPx+3Lv3W5frEQjwC/x3gjS2fF2XwOyL/tyrNceaIAZqLXN319tGWaaOSChXoCZA4xE9SlTe9bZvWbbAx4qUEaP4F5l2qBWvplrv7B92nz6agBkRmmYEI4q7KdJhjRgyF3iuq+92LwM38LrJfCsnJDbQMJwyvq2F; 25:0A0Q7SvBi3hsr9R/eTfmBB/vs1Ld61sfo5uW9rgJ3P95b0MXCCUUB0p7xHstTeBSdpuir3Giq4GfplrXMemf/6AGtThw5cV1Zp3Ug8oFXdJz4oK152WsGBh5j391r9I7nJjLVujs0i/PfrEU1CKXaEIZ6DZomX8hrqkapcHQFUYfYrx+unKaINkBqN+xxkSHLtoMl0JHJwGF9kNQq2DR5KPO4Mg06q2YnWVZ8U4AJWyQwxOP9O0vxoqw7d6hwqvceEzCRjhdoJZ+WjWkueJws/q8bvKzTkNfVXfg529986tHFiNsh5S4S+OPiUJScAxCHOEoItjuSAhyrl0UEpDtUw==; 31:s54jsIx+tcb5rz/sCAZjfh9bg1gqrLofSH4NXiuswG9TkCCzr427WiddJ2m7jxyIUhhgz93pPj8LsiVTra3vYCovFzlx6mPS40vfZIwVB5UdayK+F5KMbRtJGCo4t3UZ0aZJiAf2/sBFLHZtdpNRYOPenABKshElbscDbLnamxnc9A31PMrFsGBYsZ3oAveqDld6l2Cgp0jjOhkcXZFIOjUPJGxJhFRpWCzvfaEw1ws= X-MS-TrafficTypeDiagnostic: AM4PR0202MB2770: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820)(275740015457677); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(6041310)(20161123562045)(20161123564045)(20161123560045)(2016111802025)(20161123558120)(6072148)(6043046)(201708071742011); SRVR:AM4PR0202MB2770; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0202MB2770; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 4:kkMJ2AX56izU3g0GlfJRzueS3WcnYLERm4kZmq6Y/MEheMMjbTmU1zTd1VCi5NokmKBThqtE+CCq4zaIk9NJbg4h9Tw8SJznTy17jNfH6q0lWMmUq312VWMNl9vwMOTnFYPYltvamLMkuo3807DSn8cjGUxfQDrDypQtrFbNLVj6iENvDkorBPhmWdaM9XTsMcTctmZhoJIv6BXSRsObv/oIJMoWJn6uDQBvb30a+10WqnTp3+4zBZY8BhQGDKKb5gWBfl4OesCdvDCyyiygc8UZS/DCu5qD6b87h3NZu7Z/2WSwg3qCcC7ELCwaxDUOxK9LwbeJQxz6rtDxteFFn8po11qT5IUUx09JRO04NtA= X-Forefront-PRVS: 0658BAF71F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6049001)(346002)(39830400003)(396003)(39380400002)(376002)(366004)(199004)(377424004)(189003)(6116002)(25786009)(6916009)(81156014)(6666003)(36756003)(50466002)(2906002)(230700001)(11346002)(26005)(386003)(3260700006)(446003)(117156002)(229853002)(8676002)(2616005)(65956001)(3846002)(76176011)(81166006)(86362001)(64126003)(65806001)(8936002)(478600001)(6306002)(486006)(4326008)(476003)(66066001)(966005)(31696002)(105586002)(186003)(316002)(16576012)(97736004)(54906003)(16526019)(106356001)(6246003)(7406005)(575784001)(58126008)(31686004)(47776003)(5890100001)(52116002)(65826007)(5660300001)(39060400002)(23676004)(74482002)(36916002)(77096007)(68736007)(53936002)(305945005)(7736002)(53546011)(6486002)(7416002)(956004)(142923001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0202MB2770; H:[192.168.13.3]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:3; MX:1; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTRQUjAyMDJNQjI3NzA7MjM6bkxhRHcvVHNyd3ZXNDJ1ZjRGUWQyVU9Q?= =?utf-8?B?ei9NS2YxV1A4d3dxVDNTS1JRMmw3REVpL2poK1NwaU42MzFuTEJFUThFVFhE?= =?utf-8?B?bCszaXRhUG1CNlFJdmgxb3lUd0dJdENwY01SSnV1OGNQcmR4TzQzYkNtUFpY?= =?utf-8?B?WHdBZHBqVjRmMVV2M3pDSVBPMnZUM0F0Zm9Wc24zVVhiQ1JCVVMwSmp0Ry9w?= =?utf-8?B?Y203L0hJcXZ2bklhQ2VqdzU4eU1tSkZOUnRkT3FJS3YzVWFPTWdPR252Tjcr?= =?utf-8?B?dEliUGUvZmY3SmlXMXBuTUpmdjREVXJVWmNmV2w1UGIzNUNsN0lyTWxWaktR?= =?utf-8?B?dVB1b1BO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pNY=; 24:dlYZ9RsREaDyh+SDqu4rkhKRIHrtBdhtLmWPncvqdvdmwz0ChOpfIbNOy1vsaHfQekub9h5h0K8PAO4Svrx/4mjadvBpVwasRzdJlTKQ8no= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 7:mxrJh4S7IQCs90ah7m/OaA1k8hSQhJ95lt0dHhANTIYuedGhTda4TVxhlgZozQBm5KchXUXxJNdzgtu4j68pDcgAY7WLBV2u669IUBwKyU38mID0IZan0g68raYMrO/fafjIk0Ye27LXA1786qTJDlZ3iaqUFj8m5J0BbdY+RpDv2KWlZ/LEgui0kB8fUJ245iUUcU3vOrbRZ9MQ54R+O8eVk7/qoViVjwUe21a0e5gTLacdL5DEuH8Gif+HxKjO X-MS-Office365-Filtering-Correlation-Id: e17e51cf-992a-412b-3e2a-08d5ae8b81b4 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2018 11:14:11.4470 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e17e51cf-992a-412b-3e2a-08d5ae8b81b4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0202MB2770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180430_041433_511004_B45599AB X-CRM114-Status: GOOD ( 17.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martyn Welch , David Airlie , Gustavo Padovan , dri-devel@lists.freedesktop.org, Andrzej Hajda , Laurent Pinchart , Benjamin Gaignard , Archit Taneja , linux-samsung-soc@vger.kernel.org, Joonyoung Shim , Kyungmin Park , Krzysztof Kozlowski , Kukjin Kim , Peter Senna Tschudin , CK Hu , Martin Donnelly , linux-arm-msm@vger.kernel.org, Maarten Lankhorst , Jyri Sarha , Inki Dae , Sean Paul , Matthias Brugger , Vincent Abriou , linux-arm-kernel@lists.infradead.org, Seung-Woo Kim , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Rob Clark , kbuild-all@01.org, Philipp Zabel , linux-mediatek@lists.infradead.org, freedreno@lists.freedesktop.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP On 2018-04-28 10:09, kbuild test robot wrote: > Hi Peter, > > I love your patch! Yet something to improve: > > [auto build test ERROR on v4.17-rc2] > [also build test ERROR on next-20180426] > [cannot apply to drm/drm-next robclark/msm-next drm-exynos/exynos-drm/for-next] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Peter-Rosin/device-link-bridge-supplier-drm-device/20180428-135229 > config: arm-allmodconfig (attached as .config) > compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=arm > > All errors (new ones prefixed by >>): > > drivers/gpu//drm/rockchip/rockchip_lvds.c: In function 'rockchip_lvds_bind': >>> drivers/gpu//drm/rockchip/rockchip_lvds.c:381:24: error: 'struct drm_bridge' has no member named 'of_node' > remote = lvds->bridge->of_node; > ^~ > > vim +381 drivers/gpu//drm/rockchip/rockchip_lvds.c Ugh. So, patch 1/24 needs to be amended with this But that is of course just a stop-gap. The real fix is to adapt to the "drm: bridge: Add support for static image formats​" series from Jacopo. But that's orthogonal. Cheers, Peter diff --git a/drivers/gpu/drm/rockchip/rockchip_lvds.c b/drivers/gpu/drm/rockchip/rockchip_lvds.c index e67f4ea28c0e..3f33034b3f58 100644 --- a/drivers/gpu/drm/rockchip/rockchip_lvds.c +++ b/drivers/gpu/drm/rockchip/rockchip_lvds.c @@ -377,8 +377,10 @@ static int rockchip_lvds_bind(struct device *dev, struct device *master, } if (lvds->panel) remote = lvds->panel->dev->of_node; - else + else if (lvds->bridge->of_node) remote = lvds->bridge->of_node; + else + remote = lvds->bridge->owner->of_node; if (of_property_read_string(dev->of_node, "rockchip,output", &name)) /* default set it as output rgb */ lvds->output = DISPLAY_OUTPUT_RGB; and patch 22/24 with this diff --git a/drivers/gpu/drm/rockchip/rockchip_lvds.c b/drivers/gpu/drm/rockchip/rockchip_lvds.c index 3f33034b3f58..8c82fa647536 100644 --- a/drivers/gpu/drm/rockchip/rockchip_lvds.c +++ b/drivers/gpu/drm/rockchip/rockchip_lvds.c @@ -377,8 +377,6 @@ static int rockchip_lvds_bind(struct device *dev, struct device *master, } if (lvds->panel) remote = lvds->panel->dev->of_node; - else if (lvds->bridge->of_node) - remote = lvds->bridge->of_node; else remote = lvds->bridge->owner->of_node; if (of_property_read_string(dev->of_node, "rockchip,output", &name))