[lkml]   [2022]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 7/7] staging: vt6655: Convert macro PCAvDelayByIO to function
Hi Philipp,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on staging/staging-testing]

base: b22c721c4f3fd4608da059c56fbe7a0cc598fb6a
config: parisc-buildonly-randconfig-r006-20220402 (
compiler: hppa-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add linux-review
git fetch --no-tags linux-review Philipp-Hortmann/staging-vt6655-Fix-CamelCase-in-upc-h-and-started-in-mac-h/20220402-153118
git checkout 87b8c1713c4ec7a743b07417150821e2c83dd49d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=parisc SHELL=/bin/bash drivers/staging/vt6655/

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

All warnings (new ones prefixed by >>):

drivers/staging/vt6655/srom.c: In function 'PCAvDelayByIO':
>> drivers/staging/vt6655/srom.c:145:23: warning: variable 'data' set but not used [-Wunused-but-set-variable]
145 | unsigned char data;
| ^~~~

vim +/data +145 drivers/staging/vt6655/srom.c

143 void PCAvDelayByIO(unsigned char u_delay_unit)
144 {
> 145 unsigned char data;

0-DAY CI Kernel Test Service

 \ /
  Last update: 2022-04-02 13:07    [W:0.063 / U:22.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site