tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
class_cleanup
head:   512466823088e17b8bedd9a5edcc8a7a35e7e635
commit: 7f46532636eefe2f7beb5c52ddb25db664c3fad1 [90/91] driver core: class: 
remove struct module owner out of struct class
config: riscv-randconfig-r004-20230221 
(https://download.01.org/0day-ci/archive/20230222/202302221325.3txd9pgw-...@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 
db89896bbbd2251fff457699635acbbedeead27f)
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 riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?id=7f46532636eefe2f7beb5c52ddb25db664c3fad1
        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 7f46532636eefe2f7beb5c52ddb25db664c3fad1
        # 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=riscv olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 
O=build_dir ARCH=riscv SHELL=/bin/bash fs/

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/202302221325.3txd9pgw-...@intel.com/

All errors (new ones prefixed by >>):

>> fs/ksmbd/server.c:519:3: error: field designator 'owner' does not refer to 
>> any field in type 'struct class'
           .owner          = THIS_MODULE,
            ^
   1 error generated.


vim +519 fs/ksmbd/server.c

0626e6641f6b46 fs/cifsd/server.c Namjae Jeon 2021-03-16  516  
0626e6641f6b46 fs/cifsd/server.c Namjae Jeon 2021-03-16  517  static struct 
class ksmbd_control_class = {
0626e6641f6b46 fs/cifsd/server.c Namjae Jeon 2021-03-16  518    .name           
= "ksmbd-control",
0626e6641f6b46 fs/cifsd/server.c Namjae Jeon 2021-03-16 @519    .owner          
= THIS_MODULE,
0626e6641f6b46 fs/cifsd/server.c Namjae Jeon 2021-03-16  520    .class_groups   
= ksmbd_control_class_groups,
0626e6641f6b46 fs/cifsd/server.c Namjae Jeon 2021-03-16  521  };
0626e6641f6b46 fs/cifsd/server.c Namjae Jeon 2021-03-16  522  

:::::: The code at line 519 was first introduced by commit
:::::: 0626e6641f6b467447c81dd7678a69c66f7746cf cifsd: add server handler for 
central processing and tranport layers

:::::: TO: Namjae Jeon <namjae.j...@samsung.com>
:::::: CC: Steve French <stfre...@microsoft.com>

-- 
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