[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202011014.rBztJFU3-lkp@intel.com>
Date: Tue, 1 Feb 2022 10:55:42 +0800
From: kernel test robot <lkp@...el.com>
To: Tomohito Esaki <etom@...l.co.jp>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
Daniel Vetter <daniel.vetter@...ll.ch>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>
Subject: [drm-misc:drm-misc-next 3/4] drivers/gpu/drm/sprd/sprd_drm.c:46:19:
error: no member named 'allow_fb_modifiers' in 'struct drm_mode_config'
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head: d80976d9ffd9d7f89a26134a299b236910477f3b
commit: 3d082157a24216ca084082ce421a37d14ecfcfad [3/4] drm: remove allow_fb_modifiers
config: arm-buildonly-randconfig-r004-20220130 (https://download.01.org/0day-ci/archive/20220201/202202011014.rBztJFU3-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6b1e844b69f15bb7dffaf9365cd2b355d2eb7579)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc
git fetch --no-tags drm-misc drm-misc-next
git checkout 3d082157a24216ca084082ce421a37d14ecfcfad
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/drm/sprd/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/sprd/sprd_drm.c:46:19: error: no member named 'allow_fb_modifiers' in 'struct drm_mode_config'
drm->mode_config.allow_fb_modifiers = true;
~~~~~~~~~~~~~~~~ ^
1 error generated.
vim +46 drivers/gpu/drm/sprd/sprd_drm.c
43531edd53f07c Kevin Tang 2021-12-07 39
43531edd53f07c Kevin Tang 2021-12-07 40 static void sprd_drm_mode_config_init(struct drm_device *drm)
43531edd53f07c Kevin Tang 2021-12-07 41 {
43531edd53f07c Kevin Tang 2021-12-07 42 drm->mode_config.min_width = 0;
43531edd53f07c Kevin Tang 2021-12-07 43 drm->mode_config.min_height = 0;
43531edd53f07c Kevin Tang 2021-12-07 44 drm->mode_config.max_width = 8192;
43531edd53f07c Kevin Tang 2021-12-07 45 drm->mode_config.max_height = 8192;
43531edd53f07c Kevin Tang 2021-12-07 @46 drm->mode_config.allow_fb_modifiers = true;
43531edd53f07c Kevin Tang 2021-12-07 47
43531edd53f07c Kevin Tang 2021-12-07 48 drm->mode_config.funcs = &sprd_drm_mode_config_funcs;
43531edd53f07c Kevin Tang 2021-12-07 49 drm->mode_config.helper_private = &sprd_drm_mode_config_helper;
43531edd53f07c Kevin Tang 2021-12-07 50 }
43531edd53f07c Kevin Tang 2021-12-07 51
:::::: The code at line 46 was first introduced by commit
:::::: 43531edd53f07cbe977a0b33dea6dd6c29b21fea drm/sprd: add Unisoc's drm kms master
:::::: TO: Kevin Tang <kevin3.tang@...il.com>
:::::: CC: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists