[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210232225.f4j7w62e-lkp@intel.com>
Date: Sun, 23 Oct 2022 22:16:26 +0800
From: kernel test robot <lkp@...el.com>
To: Aleksander Miera <aleksander.miera@...playlink.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Dominik Behr <dbehr@...omium.org>,
Stéphane Marchesin <marcheu@...omium.org>
Subject: [jsarha:topic/cros-sof-v4.14-rebase 6598/9999]
drivers/gpu/drm/evdi/evdi_main.c:104:6: warning: no previous prototype for
function 'evdi_driver_close'
tree: https://github.com/jsarha/linux topic/cros-sof-v4.14-rebase
head: 18a233f3f676a98dde00947535d99ab1a54da340
commit: d1177265603ba9922299d0eb258fed42069b0843 [6598/9999] drm/evdi: improve logging in EVDI module.
config: x86_64-randconfig-k001
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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://github.com/jsarha/linux/commit/d1177265603ba9922299d0eb258fed42069b0843
git remote add jsarha https://github.com/jsarha/linux
git fetch --no-tags jsarha topic/cros-sof-v4.14-rebase
git checkout d1177265603ba9922299d0eb258fed42069b0843
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash LDFLAGS=-z max-page-size=0x200000
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/evdi/evdi_main.c:104:6: warning: no previous prototype for function 'evdi_driver_close' [-Wmissing-prototypes]
void evdi_driver_close(struct drm_device *drm_dev, struct drm_file *file)
^
drivers/gpu/drm/evdi/evdi_main.c:104:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void evdi_driver_close(struct drm_device *drm_dev, struct drm_file *file)
^
static
1 warning generated.
vim +/evdi_driver_close +104 drivers/gpu/drm/evdi/evdi_main.c
103
> 104 void evdi_driver_close(struct drm_device *drm_dev, struct drm_file *file)
105 {
106 struct evdi_device *evdi = drm_dev->dev_private;
107
108 if (evdi)
109 evdi_painter_close(evdi, file);
110 }
111
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (99967 bytes)
Powered by blists - more mailing lists