lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202110100406.ZqrBAg1z-lkp@intel.com>
Date:   Sun, 10 Oct 2021 04:06:13 +0800
From:   kernel test robot <lkp@...el.com>
To:     Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>
Subject: [drm-misc:for-linux-next 7/9]
 drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c:278:6: error: use of
 undeclared identifier 'MIPI_DSI_MODE_EOT_PACKET'

tree:   git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head:   2620fddce4a9dee64876ee7f3f344ea558fc1ac3
commit: 223cce88a926efbbd99d21fe2e540b1a9050410e [7/9] drm/panel: Add support for Sharp LS060T1SX01 panel
config: hexagon-randconfig-r011-20211010 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 30caca39f401ae17927439c0a0bd6d1b1916dd6a)
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 for-linux-next
        git checkout 223cce88a926efbbd99d21fe2e540b1a9050410e
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/panel/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

Note: the drm-misc/for-linux-next HEAD 2620fddce4a9dee64876ee7f3f344ea558fc1ac3 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c:278:6: error: use of undeclared identifier 'MIPI_DSI_MODE_EOT_PACKET'
                             MIPI_DSI_MODE_EOT_PACKET |
                             ^
   1 error generated.


vim +/MIPI_DSI_MODE_EOT_PACKET +278 drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c

   240	
   241	static int sharp_ls060_probe(struct mipi_dsi_device *dsi)
   242	{
   243		struct device *dev = &dsi->dev;
   244		struct sharp_ls060 *ctx;
   245		int ret;
   246	
   247		ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL);
   248		if (!ctx)
   249			return -ENOMEM;
   250	
   251		ctx->vddi_supply = devm_regulator_get(dev, "vddi");
   252		if (IS_ERR(ctx->vddi_supply))
   253			return PTR_ERR(ctx->vddi_supply);
   254	
   255		ctx->vddh_supply = devm_regulator_get(dev, "vddh");
   256		if (IS_ERR(ctx->vddh_supply))
   257			return PTR_ERR(ctx->vddh_supply);
   258	
   259		ctx->avdd_supply = devm_regulator_get(dev, "avdd");
   260		if (IS_ERR(ctx->avdd_supply))
   261			return PTR_ERR(ctx->avdd_supply);
   262	
   263		ctx->avee_supply = devm_regulator_get(dev, "avee");
   264		if (IS_ERR(ctx->avee_supply))
   265			return PTR_ERR(ctx->avee_supply);
   266	
   267		ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
   268		if (IS_ERR(ctx->reset_gpio))
   269			return dev_err_probe(dev, PTR_ERR(ctx->reset_gpio),
   270					     "Failed to get reset-gpios\n");
   271	
   272		ctx->dsi = dsi;
   273		mipi_dsi_set_drvdata(dsi, ctx);
   274	
   275		dsi->lanes = 4;
   276		dsi->format = MIPI_DSI_FMT_RGB888;
   277		dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
 > 278				  MIPI_DSI_MODE_EOT_PACKET |
   279				  MIPI_DSI_CLOCK_NON_CONTINUOUS;
   280	
   281		drm_panel_init(&ctx->panel, dev, &sharp_ls060_panel_funcs,
   282			       DRM_MODE_CONNECTOR_DSI);
   283	
   284		ret = drm_panel_of_backlight(&ctx->panel);
   285		if (ret)
   286			return dev_err_probe(dev, ret, "Failed to get backlight\n");
   287	
   288		drm_panel_add(&ctx->panel);
   289	
   290		ret = mipi_dsi_attach(dsi);
   291		if (ret < 0) {
   292			dev_err(dev, "Failed to attach to DSI host: %d\n", ret);
   293			drm_panel_remove(&ctx->panel);
   294			return ret;
   295		}
   296	
   297		return 0;
   298	}
   299	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (33394 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ