[radeon-alex:amd-18.50 3/3] fs/btrfs/super.c:2373:1: error: directive in argument list

kbuild test robot lkp at intel.com
Fri Jan 4 00:00:50 UTC 2019


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-18.50
head:   6b02d4906a8c5b3e4a268516057e5b77bbc5f559
commit: 6b02d4906a8c5b3e4a268516057e5b77bbc5f559 [3/3] drm/amdgpu/nbio7.4: add hw bug workaround for vega20
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 6b02d4906a8c5b3e4a268516057e5b77bbc5f559
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

>> sound/core/seq/seq_clientmgr.c:1104:24: warning: incorrect type in return expression (different base types)
   sound/core/seq/seq_clientmgr.c:1104:24:    expected restricted __poll_t
   sound/core/seq/seq_clientmgr.c:1104:24:    got int
   sound/core/seq/seq_clientmgr.c:693:9: warning: context imbalance in 'deliver_to_subscribers' - different lock contexts for basic block
--
>> fs/btrfs/super.c:2373:1: error: directive in argument list
   fs/btrfs/super.c:2375:1: error: directive in argument list
   fs/btrfs/super.c:2376:1: error: directive in argument list
   fs/btrfs/super.c:2378:1: error: directive in argument list
   fs/btrfs/super.c:2379:1: error: directive in argument list
   fs/btrfs/super.c:2381:1: error: directive in argument list
   fs/btrfs/super.c:2382:1: error: directive in argument list
   fs/btrfs/super.c:2384:1: error: directive in argument list
   fs/btrfs/super.c:2318:24: error: incompatible types in comparison expression (different address spaces)
--
>> drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c:55:15: warning: symbol 'vchiq_dbg_dir' was not declared. Should it be static?
>> drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c:56:15: warning: symbol 'vchiq_dbg_clients' was not declared. Should it be static?
--
   drivers/infiniband/hw/i40iw/i40iw_hw.c:483:20: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:483:20:    expected unsigned short [usertype] port
   drivers/infiniband/hw/i40iw/i40iw_hw.c:483:20:    got restricted __le16 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:529:33: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:529:33:    expected unsigned short [usertype] arp_index
   drivers/infiniband/hw/i40iw/i40iw_hw.c:529:33:    got restricted __le16 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:595:31: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:595:31:    expected unsigned short [usertype] vlan_id
   drivers/infiniband/hw/i40iw/i40iw_hw.c:595:31:    got restricted __le16 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:603:22: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:603:22:    expected unsigned int [usertype] qp_num
   drivers/infiniband/hw/i40iw/i40iw_hw.c:603:22:    got restricted __le32 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:604:25: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:604:25:    expected unsigned short [usertype] dest_port
   drivers/infiniband/hw/i40iw/i40iw_hw.c:604:25:    got restricted __le16 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:605:26: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:605:26:    expected unsigned int
   drivers/infiniband/hw/i40iw/i40iw_hw.c:605:26:    got restricted __le32 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:606:26: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:606:26:    expected unsigned int
   drivers/infiniband/hw/i40iw/i40iw_hw.c:606:26:    got restricted __le32 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:607:26: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:607:26:    expected unsigned int
   drivers/infiniband/hw/i40iw/i40iw_hw.c:607:26:    got restricted __le32 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:608:26: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:608:26:    expected unsigned int
   drivers/infiniband/hw/i40iw/i40iw_hw.c:608:26:    got restricted __le32 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:610:32: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:610:32:    expected unsigned short [usertype] src_port
   drivers/infiniband/hw/i40iw/i40iw_hw.c:610:32:    got restricted __le16 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:611:33: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:611:33:    expected unsigned int
   drivers/infiniband/hw/i40iw/i40iw_hw.c:611:33:    got restricted __le32 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:612:33: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:612:33:    expected unsigned int
   drivers/infiniband/hw/i40iw/i40iw_hw.c:612:33:    got restricted __le32 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:613:33: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:613:33:    expected unsigned int
   drivers/infiniband/hw/i40iw/i40iw_hw.c:613:33:    got restricted __le32 [usertype]
   drivers/infiniband/hw/i40iw/i40iw_hw.c:614:33: warning: incorrect type in assignment (different base types)
   drivers/infiniband/hw/i40iw/i40iw_hw.c:614:33:    expected unsigned int
   drivers/infiniband/hw/i40iw/i40iw_hw.c:614:33:    got restricted __le32 [usertype]
>> include/linux/spinlock.h:365:9: warning: context imbalance in 'i40iw_manage_apbvt' - unexpected unlock
--
   sound/pci/hda/patch_ca0132.c:2467:43: warning: incorrect type in argument 3 (different base types)
   sound/pci/hda/patch_ca0132.c:2467:43:    expected unsigned int format
   sound/pci/hda/patch_ca0132.c:2467:43:    got restricted snd_pcm_format_t [usertype]
>> sound/pci/hda/patch_ca0132.c:5519:22: warning: Using plain integer as NULL pointer
   sound/pci/hda/patch_ca0132.c:5520:22: warning: Using plain integer as NULL pointer
   sound/pci/hda/patch_ca0132.c:6533:25: warning: incorrect type in argument 3 (different base types)
   sound/pci/hda/patch_ca0132.c:6533:25:    expected unsigned int format
   sound/pci/hda/patch_ca0132.c:6533:25:    got restricted snd_pcm_format_t [usertype]
--
>> drivers/media/pci/saa7164/saa7164-vbi.c:632:24: warning: incorrect type in return expression (different base types)
   drivers/media/pci/saa7164/saa7164-vbi.c:632:24:    expected restricted __poll_t
   drivers/media/pci/saa7164/saa7164-vbi.c:632:24:    got int
   drivers/media/pci/saa7164/saa7164-vbi.c:637:40: warning: incorrect type in return expression (different base types)
   drivers/media/pci/saa7164/saa7164-vbi.c:637:40:    expected restricted __poll_t
   drivers/media/pci/saa7164/saa7164-vbi.c:637:40:    got int
   drivers/media/pci/saa7164/saa7164-vbi.c:647:40: warning: incorrect type in return expression (different base types)
   drivers/media/pci/saa7164/saa7164-vbi.c:647:40:    expected restricted __poll_t
   drivers/media/pci/saa7164/saa7164-vbi.c:647:40:    got int
--
>> drivers/gpu/drm/i2c/tda9950.c:79:20: warning: Variable length array is used.
--
>> drivers/nvmem/rave-sp-eeprom.c:100:16: warning: Variable length array is used.
   drivers/nvmem/rave-sp-eeprom.c:288:40: warning: Using plain integer as NULL pointer
--
>> drivers/media/platform/s3c-camif/camif-capture.c:602:21: warning: incorrect type in assignment (different base types)
   drivers/media/platform/s3c-camif/camif-capture.c:602:21:    expected restricted __poll_t [usertype] ret
   drivers/media/platform/s3c-camif/camif-capture.c:602:21:    got int
--
   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:108:5: warning: symbol 'amdgpu_exp_hw_support' was not declared. Should it be static?
>> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:508:5: warning: symbol 'priv_cp_queues' was not declared. Should it be static?
>> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:516:6: warning: symbol 'keep_idle_process_evicted' was not declared. Should it be static?
>> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:520:5: warning: symbol 'cma_enable' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:577:5: warning: symbol 'sched_policy' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:587:5: warning: symbol 'hws_max_conc_proc' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:598:5: warning: symbol 'cwsr_enable' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:607:5: warning: symbol 'max_num_of_queues_per_device' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:617:5: warning: symbol 'send_sigterm' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:629:5: warning: symbol 'debug_largebar' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:640:5: warning: symbol 'ignore_crat' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:651:5: warning: symbol 'noretry' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:661:5: warning: symbol 'halt_if_hws_hang' was not declared. Should it be static?
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:0:
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
    };
    ^
--
   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:3275:1: error: directive in argument list
   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:3277:1: error: directive in argument list
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:0:
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
    };
    ^
..

vim +2373 fs/btrfs/super.c

a9218f6b Chris Mason     2008-03-24  2369  
f5c29bd9 Liu Bo          2017-11-02  2370  static void __init btrfs_print_mod_info(void)
85965600 David Sterba    2013-04-30  2371  {
62e85577 Jeff Mahoney    2016-09-20  2372  	pr_info("Btrfs loaded, crc32c=%s"
85965600 David Sterba    2013-04-30 @2373  #ifdef CONFIG_BTRFS_DEBUG
85965600 David Sterba    2013-04-30  2374  			", debug=on"
85965600 David Sterba    2013-04-30  2375  #endif
79556c3d Stefan Behrens  2013-09-03  2376  #ifdef CONFIG_BTRFS_ASSERT
79556c3d Stefan Behrens  2013-09-03  2377  			", assert=on"
79556c3d Stefan Behrens  2013-09-03  2378  #endif
85965600 David Sterba    2013-04-30  2379  #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
85965600 David Sterba    2013-04-30  2380  			", integrity-checker=on"
85965600 David Sterba    2013-04-30  2381  #endif
fb592373 Josef Bacik     2017-09-29  2382  #ifdef CONFIG_BTRFS_FS_REF_VERIFY
fb592373 Josef Bacik     2017-09-29  2383  			", ref-verify=on"
fb592373 Josef Bacik     2017-09-29  2384  #endif
5f9e1059 Jeff Mahoney    2015-09-16  2385  			"\n",
9678c543 Nikolay Borisov 2018-01-08  2386  			crc32c_impl());
85965600 David Sterba    2013-04-30  2387  }
85965600 David Sterba    2013-04-30  2388  

:::::: The code at line 2373 was first introduced by commit
:::::: 85965600f50b2e57746363d0ace4ab6b2bcb9c27 btrfs: show compiled-in config features at module load time

:::::: TO: David Sterba <dsterba at suse.cz>
:::::: CC: Josef Bacik <jbacik at fusionio.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 64614 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190104/b24b6a00/attachment-0001.gz>


More information about the dri-devel mailing list