From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71662C433F5 for ; Wed, 18 May 2022 06:56:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231739AbiERG4a (ORCPT ); Wed, 18 May 2022 02:56:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231718AbiERG4Z (ORCPT ); Wed, 18 May 2022 02:56:25 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A6CADF76 for ; Tue, 17 May 2022 23:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652856983; x=1684392983; h=date:from:to:cc:subject:message-id:mime-version; bh=wgEpP1m7gKp6uGk739627wbRp2ID3kXE15UjWU87S88=; b=NkY7LMDEfe1KMmG1vQpZ0+cLWrEdvEvhLrppMBhbsQ1KLuiuCwPtvbBg 8Euk8TGJnbtG45Sj2QKyOuEpmwfmilIktTCzOraov1FWZZbtJ1sLfiAzk qEFRq4TQDM+dD0CnrERkZKqplxLuZNgxNMoCZnflwfj2tjEwHoKvejicB 559BMK9YYH3g8sci5zglM05kYrUP/waIwgtQtZfwql2ERDfTp2nRspCi1 8v86W5Ifx/Uo0Xhnfx5RcgDbBm+9/SA2vDKO0by1FWlP68HzJFmuoxla0 EOWNWEZZknMV/nyGUn+ebtBq8LRYblvCKR4n1Xh1eukkLDYBKWG+/efnk w==; X-IronPort-AV: E=McAfee;i="6400,9594,10350"; a="271209508" X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="271209508" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2022 23:56:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="574921485" Received: from lkp-server02.sh.intel.com (HELO 242b25809ac7) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 17 May 2022 23:56:21 -0700 Received: from kbuild by 242b25809ac7 with local (Exim 4.95) (envelope-from ) id 1nrDbY-0001tV-K6; Wed, 18 May 2022 06:56:20 +0000 Date: Wed, 18 May 2022 14:55:50 +0800 From: kernel test robot To: Xin Ji Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Robert Foss Subject: [drm-misc:drm-misc-next 2/2] drivers/gpu/drm/bridge/analogix/anx7625.c:1643:25: error: 'V4L2_FWNODE_BUS_TYPE_DPI' undeclared; did you mean 'V4L2_FWNODE_BUS_TYPE_CCP2'? Message-ID: <202205181409.YEDC8uiJ-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 315a8d00ac74c59a688a1a88c0ed97a7791d1c91 commit: a77c2af0994e24ee36c7ffb6dc852770bdf06fb1 [2/2] drm/bridge: anx7625: Use DPI bus type config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20220518/202205181409.YEDC8uiJ-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc git fetch --no-tags drm-misc drm-misc-next git checkout a77c2af0994e24ee36c7ffb6dc852770bdf06fb1 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/gpu/drm/bridge/analogix/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/gpu/drm/bridge/analogix/anx7625.c: In function 'anx7625_parse_dt': >> drivers/gpu/drm/bridge/analogix/anx7625.c:1643:25: error: 'V4L2_FWNODE_BUS_TYPE_DPI' undeclared (first use in this function); did you mean 'V4L2_FWNODE_BUS_TYPE_CCP2'? 1643 | if (bus_type == V4L2_FWNODE_BUS_TYPE_DPI) /* bus type is DPI */ | ^~~~~~~~~~~~~~~~~~~~~~~~ | V4L2_FWNODE_BUS_TYPE_CCP2 drivers/gpu/drm/bridge/analogix/anx7625.c:1643:25: note: each undeclared identifier is reported only once for each function it appears in vim +1643 drivers/gpu/drm/bridge/analogix/anx7625.c 1617 1618 static int anx7625_parse_dt(struct device *dev, 1619 struct anx7625_platform_data *pdata) 1620 { 1621 struct device_node *np = dev->of_node, *ep0; 1622 int bus_type, mipi_lanes; 1623 1624 anx7625_get_swing_setting(dev, pdata); 1625 1626 pdata->is_dpi = 0; /* default dsi mode */ 1627 pdata->mipi_host_node = of_graph_get_remote_node(np, 0, 0); 1628 if (!pdata->mipi_host_node) { 1629 DRM_DEV_ERROR(dev, "fail to get internal panel.\n"); 1630 return -ENODEV; 1631 } 1632 1633 bus_type = 0; 1634 mipi_lanes = MAX_LANES_SUPPORT; 1635 ep0 = of_graph_get_endpoint_by_regs(np, 0, 0); 1636 if (ep0) { 1637 if (of_property_read_u32(ep0, "bus-type", &bus_type)) 1638 bus_type = 0; 1639 1640 mipi_lanes = of_property_count_u32_elems(ep0, "data-lanes"); 1641 } 1642 > 1643 if (bus_type == V4L2_FWNODE_BUS_TYPE_DPI) /* bus type is DPI */ 1644 pdata->is_dpi = 1; 1645 1646 pdata->mipi_lanes = mipi_lanes; 1647 if (pdata->mipi_lanes > MAX_LANES_SUPPORT || pdata->mipi_lanes <= 0) 1648 pdata->mipi_lanes = MAX_LANES_SUPPORT; 1649 1650 if (pdata->is_dpi) 1651 DRM_DEV_DEBUG_DRIVER(dev, "found MIPI DPI host node.\n"); 1652 else 1653 DRM_DEV_DEBUG_DRIVER(dev, "found MIPI DSI host node.\n"); 1654 1655 if (of_property_read_bool(np, "analogix,audio-enable")) 1656 pdata->audio_en = 1; 1657 1658 pdata->panel_bridge = devm_drm_of_get_bridge(dev, np, 1, 0); 1659 if (IS_ERR(pdata->panel_bridge)) { 1660 if (PTR_ERR(pdata->panel_bridge) == -ENODEV) 1661 return 0; 1662 1663 return PTR_ERR(pdata->panel_bridge); 1664 } 1665 1666 DRM_DEV_DEBUG_DRIVER(dev, "get panel node.\n"); 1667 1668 return 0; 1669 } 1670 -- 0-DAY CI Kernel Test Service https://01.org/lkp