tree: https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git accel head: ab741984de51f780334f1c4ce2ee98ef81a8a28f commit: 39e251c7f78ef9d4a4d3d92db1896a68dc3b3e9e [7/9] handle drm_open config: nios2-buildonly-randconfig-r003-20221019 compiler: nios2-linux-gcc (GCC) 12.1.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 # https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git/commit/?id=39e251c7f78ef9d4a4d3d92db1896a68dc3b3e9e git remote add ogabbay https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git git fetch --no-tags ogabbay accel git checkout 39e251c7f78ef9d4a4d3d92db1896a68dc3b3e9e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=nios2 SHELL=/bin/bash drivers/gpu/drm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/drm_file.c:470:5: warning: no previous prototype for 'accel_open' [-Wmissing-prototypes] 470 | int accel_open(struct inode *inode, struct file *filp) | ^~~~~~~~~~ vim +/accel_open +470 drivers/gpu/drm/drm_file.c 456 457 /** 458 * accel_open - open method for ACCEL file 459 * @inode: device inode 460 * @filp: file pointer. 461 * 462 * This function must be used by drivers as their &file_operations.open method. 463 * It looks up the correct ACCEL device and instantiates all the per-file 464 * resources for it. It also calls the &drm_driver.open driver callback. 465 * 466 * RETURNS: 467 * 468 * 0 on success or negative errno value on failure. 469 */ > 470 int accel_open(struct inode *inode, struct file *filp) 471 { 472 struct drm_minor *minor; 473 474 minor = drm_minor_acquire(iminor(inode), true); 475 if (IS_ERR(minor)) 476 return PTR_ERR(minor); 477 478 return __drm_open(inode, filp, minor); 479 } 480 EXPORT_SYMBOL(accel_open); 481 -- 0-DAY CI Kernel Test Service https://01.org/lkp