tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
class_cleanup
head:   991be8c8a8ebb755002e43f85cbaa1189a304a8a
commit: 3cab1d62319b47233794e37d4ff498de86a2a69b [91/93] media: pvrusb2: clean 
up unneeded complexity in pvrusb2 class logic
config: x86_64-randconfig-a015-20230327 
(https://download.01.org/0day-ci/archive/20230328/202303281905.iwvzgh4f-...@intel.com/config)
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://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?id=3cab1d62319b47233794e37d4ff498de86a2a69b
        git remote add driver-core 
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
        git fetch --no-tags driver-core class_cleanup
        git checkout 3cab1d62319b47233794e37d4ff498de86a2a69b
        # 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 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 
O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/media/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <l...@intel.com>
| Link: 
https://lore.kernel.org/oe-kbuild-all/202303281905.iwvzgh4f-...@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/media/usb/pvrusb2/pvrusb2-main.c:19:
>> drivers/media/usb/pvrusb2/pvrusb2-sysfs.h:20:59: warning: omitting the 
>> parameter name in a function definition is a C2x extension [-Wc2x-extensions]
   static inline void pvr2_sysfs_create(struct pvr2_context *) { }
                                                             ^
   1 warning generated.


vim +20 drivers/media/usb/pvrusb2/pvrusb2-sysfs.h

    12  
    13  #ifdef CONFIG_VIDEO_PVRUSB2_SYSFS
    14  void pvr2_sysfs_class_create(void);
    15  void pvr2_sysfs_class_destroy(void);
    16  void pvr2_sysfs_create(struct pvr2_context *);
    17  #else
    18  static inline void pvr2_sysfs_class_create(void) { }
    19  static inline void pvr2_sysfs_class_destroy(void) { }
  > 20  static inline void pvr2_sysfs_create(struct pvr2_context *) { }
    21  #endif
    22  
    23  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to