tree:   git://people.freedesktop.org/~agd5f/linux.git amd-18.30
head:   656ec78b706b16480ab37fc0751de0c3a709aa6e
commit: 656ec78b706b16480ab37fc0751de0c3a709aa6e [1/1] drm/amdgpu/vcn: Update 
vcn.cur_state during suspend
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 656ec78b706b16480ab37fc0751de0c3a709aa6e
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
--
>> include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/vce_v2_0.c:645:38: warning: symbol 
'vce_v2_0_ip_block' was not declared. Should it be static?
--
>> include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:70:25: warning: 
mixing different enum types
   drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:70:25:     int 
enum dce_version  versus
   drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:70:25:     
unsigned int enum dce_environment 
   drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:76:25: warning: 
mixing different enum types
   drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:76:25:     int 
enum dce_version  versus
   drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:76:25:     
unsigned int enum dce_environment 
--
>> include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_factory.c:96:6: warning: 
symbol 'dal_hw_factory_destroy' was not declared. Should it be static?
--
>> include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:621:22: warning: Variable length 
array is used.
   drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:671:22: warning: Variable length 
array is used.
   drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:721:22: warning: Variable length 
array is used.
--
>> include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c:171:32: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c:172:21: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c:174:39: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c:175:22: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c:177:39: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c:388:30: warning: incorrect type in 
initializer (different address spaces)
   drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c:388:30:    expected void [noderef] 
<asn:2>*ptr
   drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c:388:30:    got void *<noident>
--
>> include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:417:30: warning: incorrect type in 
initializer (different address spaces)
   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:417:30:    expected void [noderef] 
<asn:2>*ptr
   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:417:30:    got void *<noident>
--
>> include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/atombios_dp.c:78:30: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_dp.c:78:30:    expected unsigned short 
[unsigned] [addressable] [usertype] lpAuxRequest
   drivers/gpu/drm/amd/amdgpu/atombios_dp.c:78:30:    got restricted __le16 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/atombios_dp.c:79:27: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_dp.c:79:27:    expected unsigned short 
[unsigned] [addressable] [usertype] lpDataOut
   drivers/gpu/drm/amd/amdgpu/atombios_dp.c:79:27:    got restricted __le16 
[usertype] <noident>
--
>> include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2938:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2938:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2938:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2939:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2939:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2939:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2940:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2940:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2940:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2941:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2941:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2941:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2942:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2942:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2942:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2947:49: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2947:49:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2947:49:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2949:49: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2949:49:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2949:49:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2951:57: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2951:57:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2951:57:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2958:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2958:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2958:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2959:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2959:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2959:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2960:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2960:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2960:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2962:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2962:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2962:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2963:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2963:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2963:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2965:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2965:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2965:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2966:25: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2966:25:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2966:25:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:346:36: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:347:41: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:357:35: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:358:40: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:368:35: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:369:40: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:377:36: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:378:41: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2012:43: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2013:19: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2021:42: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2022:19: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2030:42: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2029:17: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2029:17:    expected restricted __le32 
const [usertype] *[assigned] fw_data
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2029:17:    got restricted __be32 
const [usertype] *<noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2031:19: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2442:36: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2442:36:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2442:36:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2467:28: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2467:28:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2467:28:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2468:28: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2468:28:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2468:28:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2469:28: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2469:28:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2469:28:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2597:19: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:2599:43: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:3651:38: warning: symbol 
'gfx_v6_0_ip_block' was not declared. Should it be static?
--
>> include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/si_ih.c:107:16: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/si_ih.c:140:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/si_ih.c:141:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/si_ih.c:142:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/si_ih.c:143:17: warning: cast to restricted __le32
--
>> include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
   drivers/gpu/drm/amd/amdgpu/si_dma.c:30:11: warning: symbol 'sdma_offsets' 
was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/si_dma.c:233:28: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/si_dma.c:233:28:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/si_dma.c:233:28:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/si_dma.c:249:23: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/si_dma.c:293:28: warning: incorrect type in 
assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/si_dma.c:293:28:    expected unsigned int 
volatile [unsigned] [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/si_dma.c:293:28:    got restricted __le32 
[usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/si_dma.c:319:15: warning: cast to restricted 
__le32
   drivers/gpu/drm/amd/amdgpu/si_dma.c:911:38: warning: symbol 
'si_dma_ip_block' was not declared. Should it be static?
..

vim +46 include/kcl/kcl_drm_global.h

f95dc3a5 Roger.He 2017-02-14  37  
f95dc3a5 Roger.He 2017-02-14  38  static inline void 
kcl_drm_global_item_unref(struct drm_global_reference *ref)
f95dc3a5 Roger.He 2017-02-14  39  {
f95dc3a5 Roger.He 2017-02-14  40  #if defined(BUILD_AS_DKMS)
f95dc3a5 Roger.He 2017-02-14  41        return _kcl_drm_global_item_unref(ref);
f95dc3a5 Roger.He 2017-02-14  42  #else
f95dc3a5 Roger.He 2017-02-14  43        return drm_global_item_unref(ref);
f95dc3a5 Roger.He 2017-02-14  44  #endif
f95dc3a5 Roger.He 2017-02-14  45  }
f95dc3a5 Roger.He 2017-02-14 @46  #endif /*AMDKCL_DRM_GLOBAL_H*/

:::::: The code at line 46 was first introduced by commit
:::::: f95dc3a5c63bc4d63ec98920e96a0ee4e5c8483f drm/amd/amdkcl: add 
kcl_drm_global for coexistence of system ttm and amdttm

:::::: TO: Roger.He <hongbo...@amd.com>
:::::: CC: Junwei Zhang <jerry.zh...@amd.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to