[radeon-alex:amd-18.50 1/1] drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration

kbuild test robot lkp at intel.com
Thu Dec 20 12:01:14 UTC 2018


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-18.50
head:   88a0039cb034176ee3416dd0c3a49feea2f446ab
commit: 88a0039cb034176ee3416dd0c3a49feea2f446ab [1/1] drm/amdgpu/powerplay: Apply avfs cks-off voltages on VI
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 88a0039cb034176ee3416dd0c3a49feea2f446ab
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

   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
   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_mn.c:127:1: error: directive in argument list
   drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:129: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
    };
    ^
--
   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/../powerplay/smumgr/smu8_smumgr.c:878:29: warning: symbol 'smu8_smu_funcs' 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/../powerplay/smumgr/tonga_smumgr.c:310:49: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:310:49:    expected unsigned short [unsigned] [short] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:310:49:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:313:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:313:17:    expected unsigned int [unsigned] [usertype] VddcLevelCount
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:313:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:327:51: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:327:51:    expected unsigned short [unsigned] [short] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:327:51:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:330:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:330:17:    expected unsigned int [unsigned] [usertype] VddGfxLevelCount
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:330:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:344:50: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:344:50:    expected unsigned short [unsigned] [short] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:344:50:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:347:66: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:347:66:    expected unsigned short [unsigned] [usertype] Voltage
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:347:66:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:354:50: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:354:50:    expected unsigned short [unsigned] [short] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:354:50:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:360:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:360:9:    expected unsigned int [unsigned] [usertype] VddciLevelCount
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:360:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:374:66: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:374:66:    expected unsigned short [unsigned] [usertype] Voltage
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:374:66:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:384:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:384:17:    expected unsigned int [unsigned] [usertype] MvddLevelCount
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:384:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:406:37: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:406:37: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:406:37: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:406:37: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:406:37: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:406:37: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:407:39: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:407:39: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:407:39: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:407:39: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:407:39: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:407:39: warning: cast to restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:493:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:493:9:    expected unsigned int [unsigned] [usertype] CcPwrDynRm
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:493:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:494:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:494:9:    expected unsigned int [unsigned] [usertype] CcPwrDynRm1
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:494:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:495:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:495:9:    expected unsigned short [unsigned] [usertype] VddcOffset
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:495:9:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:523:51: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:523:51:    expected unsigned int [unsigned] [usertype] DownThreshold
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:523:51:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:525:49: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:525:49:    expected unsigned int [unsigned] [usertype] UpThreshold
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:525:49:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:672:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:672:17:    expected unsigned int [unsigned] [usertype] SclkFrequency
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:672:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:673:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:673:17:    expected unsigned short [unsigned] [usertype] ActivityLevel
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:673:17:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:674:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:674:17:    expected unsigned int [unsigned] [usertype] CgSpllFuncCntl3
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:674:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:675:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:675:17:    expected unsigned int [unsigned] [usertype] CgSpllFuncCntl4
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:675:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:676:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:676:17:    expected unsigned int [unsigned] [usertype] SpllSpreadSpectrum
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:676:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:677:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:677:17:    expected unsigned int [unsigned] [usertype] SpllSpreadSpectrum2
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:677:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:678:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:678:17:    expected unsigned int [unsigned] [usertype] CcPwrDynRm
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:678:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:679:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:679:17:    expected unsigned int [unsigned] [usertype] CcPwrDynRm1
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:679:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1066:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1066:17:    expected unsigned int [unsigned] [usertype] MinMvdd
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1066:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1068:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1068:17:    expected unsigned int [unsigned] [usertype] MclkFrequency
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1068:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1070:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1070:17:    expected unsigned short [unsigned] [usertype] ActivityLevel
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1070:17:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1071:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1071:17:    expected unsigned int [unsigned] [usertype] MpllFuncCntl
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1071:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1072:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1072:17:    expected unsigned int [unsigned] [usertype] MpllFuncCntl_1
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1072:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1073:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1073:17:    expected unsigned int [unsigned] [usertype] MpllFuncCntl_2
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1073:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:1074:17: warning: incorrect type in assignment (different base types)
--
   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/../powerplay/smumgr/fiji_smumgr.c:504:31: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:504:31:    expected unsigned short [unsigned] [usertype] DefaultTdp
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:504:31:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:506:30: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:506:30:    expected unsigned short [unsigned] [usertype] TargetTdp
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:506:30:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:519:41: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:519:41:    expected unsigned short [unsigned] [usertype] TemperatureLimitEdge
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:519:41:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:521:44: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:521:44:    expected unsigned short [unsigned] [usertype] TemperatureLimitHotspot
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:521:44:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:523:44: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:523:44:    expected unsigned short [unsigned] [usertype] TemperatureLimitLiquid1
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:523:44:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:525:44: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:525:44:    expected unsigned short [unsigned] [usertype] TemperatureLimitLiquid2
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:525:44:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:527:43: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:527:43:    expected unsigned short [unsigned] [usertype] TemperatureLimitVrVddc
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:527:43:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:529:43: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:529:43:    expected unsigned short [unsigned] [usertype] TemperatureLimitVrMvdd
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:529:43:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:531:40: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:531:40:    expected unsigned short [unsigned] [usertype] TemperatureLimitPlx
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:531:40:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:534:32: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:534:32:    expected unsigned short [unsigned] [usertype] FanGainEdge
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:534:32:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:536:35: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:536:35:    expected unsigned short [unsigned] [usertype] FanGainHotspot
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:536:35:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:538:34: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:538:34:    expected unsigned short [unsigned] [usertype] FanGainLiquid
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:538:34:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:540:34: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:540:34:    expected unsigned short [unsigned] [usertype] FanGainVrVddc
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:540:34:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:542:34: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:542:34:    expected unsigned short [unsigned] [usertype] FanGainVrMvdd
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:542:34:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:544:31: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:544:31:    expected unsigned short [unsigned] [usertype] FanGainPlx
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:544:31:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:546:31: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:546:31:    expected unsigned short [unsigned] [usertype] FanGainHbm
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:546:31:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:597:25: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:597:25:    expected unsigned short [unsigned] [assigned] [usertype] tdc_limit
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:597:25:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:653:57: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:653:57:    expected signed short [signed] [usertype] [explicitly-signed] FuzzyFan_PwmSetDelta
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:653:57:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:684:25: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:684:25:    expected unsigned short [unsigned] [assigned] [usertype] HiSidd
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:684:25:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:686:25: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:686:25:    expected unsigned short [unsigned] [assigned] [usertype] LoSidd
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:686:25:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:815:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:815:17:    expected unsigned int [unsigned] [usertype] CcPwrDynRm
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:815:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:816:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:816:17:    expected unsigned int [unsigned] [usertype] CcPwrDynRm1
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:816:17:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:817:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:817:17:    expected unsigned short [unsigned] [usertype] VddcOffset
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:817:17:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:845:51: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:845:51:    expected unsigned int [unsigned] [usertype] DownThreshold
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:845:51:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:846:49: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:846:49:    expected unsigned int [unsigned] [usertype] UpThreshold
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:846:49:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:990:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:990:9:    expected unsigned int [unsigned] [usertype] MinVoltage
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:990:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:991:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:991:9:    expected unsigned int [unsigned] [usertype] SclkFrequency
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:991:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:992:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:992:9:    expected unsigned short [unsigned] [usertype] ActivityLevel
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:992:9:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:993:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:993:9:    expected unsigned int [unsigned] [usertype] CgSpllFuncCntl3
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:993:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:994:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:994:9:    expected unsigned int [unsigned] [usertype] CgSpllFuncCntl4
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:994:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:995:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:995:9:    expected unsigned int [unsigned] [usertype] SpllSpreadSpectrum
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:995:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:996:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:996:9:    expected unsigned int [unsigned] [usertype] SpllSpreadSpectrum2
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:996:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:997:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:997:9:    expected unsigned int [unsigned] [usertype] CcPwrDynRm
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:997:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:998:9: warning: incorrect type in assignment (different base types)
--
   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/../powerplay/smumgr/polaris10_smumgr.c:127:23: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:127:23:    expected unsigned short [unsigned] [usertype] u16_boot_mvdd
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:127:23:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:438:27: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:438:27:    expected unsigned short [unsigned] [usertype] DefaultTdp
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:438:27:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:439:27: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:439:27:    expected unsigned short [unsigned] [usertype] TargetTdp
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:439:27:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:445:37: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:445:37:    expected unsigned short [unsigned] [usertype] TemperatureLimitEdge
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:445:37:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:447:40: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:447:40:    expected unsigned short [unsigned] [usertype] TemperatureLimitHotspot
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:447:40:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:449:28: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:449:28:    expected unsigned short [unsigned] [usertype] FanGainEdge
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:449:28:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:451:31: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:451:31:    expected unsigned short [unsigned] [usertype] FanGainHotspot
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:451:31:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:460:58: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:460:58:    expected unsigned short [unsigned] [short] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:460:58:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:461:59: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:461:59:    expected unsigned short [unsigned] [short] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:461:59:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:494:25: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:494:25:    expected unsigned short [unsigned] [assigned] [usertype] tdc_limit
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:494:25:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:548:57: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:548:57:    expected signed short [signed] [usertype] [explicitly-signed] FuzzyFan_PwmSetDelta
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:548:57:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:578:25: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:578:25:    expected unsigned short [unsigned] [assigned] [usertype] hi_sidd
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:578:25:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:580:25: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:580:25:    expected unsigned short [unsigned] [assigned] [usertype] lo_sidd
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:580:25:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:656:66: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:656:66:    expected unsigned short [unsigned] [usertype] Voltage
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:656:66:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:666:42: warning: cast from restricted __be32
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:684:66: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:684:66:    expected unsigned short [unsigned] [usertype] Voltage
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:684:66:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:752:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:752:9:    expected unsigned int [unsigned] [usertype] CcPwrDynRm
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:752:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:753:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:753:9:    expected unsigned int [unsigned] [usertype] CcPwrDynRm1
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:753:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:754:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:754:9:    expected unsigned short [unsigned] [usertype] VddcOffset
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:754:9:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:782:51: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:782:51:    expected unsigned int [unsigned] [usertype] DownThreshold
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:782:51:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:783:49: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:783:49:    expected unsigned int [unsigned] [usertype] UpThreshold
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:783:49:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:816:25: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:816:25:    expected unsigned short [unsigned] [usertype] fcw_pcc
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:816:25:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:817:25: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:817:25:    expected unsigned short [unsigned] [usertype] fcw_trans_upper
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:817:25:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:818:25: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:818:25:    expected unsigned short [unsigned] [usertype] fcw_trans_lower
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:818:25:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:834:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:834:17:    expected unsigned short [unsigned] [usertype] fcw_pcc
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:834:17:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:835:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:835:17:    expected unsigned short [unsigned] [usertype] fcw_trans_upper
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:835:17:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:836:17: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:836:17:    expected unsigned short [unsigned] [usertype] fcw_trans_lower
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:836:17:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:959:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:959:9:    expected unsigned int [unsigned] [usertype] MinVoltage
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:959:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:960:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:960:9:    expected unsigned int [unsigned] [usertype] CcPwrDynRm
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:960:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:961:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:961:9:    expected unsigned int [unsigned] [usertype] CcPwrDynRm1
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:961:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:962:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:962:9:    expected unsigned short [unsigned] [usertype] ActivityLevel
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:962:9:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:963:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:963:9:    expected unsigned int [unsigned] [usertype] SclkFrequency
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:963:9:    got restricted __be32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:964:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:964:9:    expected unsigned short [unsigned] [usertype] Fcw_int
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:964:9:    got restricted __be16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:965:9: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:965:9:    expected unsigned short [unsigned] [usertype] Fcw_frac
   drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:965:9:    got restricted __be16 [usertype] <noident>
..

vim +854 drivers/gpu/drm/amd/amdgpu/amdgpu.h

126886d34 Junwei Zhang 2018-08-22  844  
126886d34 Junwei Zhang 2018-08-22  845  struct amdgpu_ssg {
126886d34 Junwei Zhang 2018-08-22  846  	bool			enabled;
126886d34 Junwei Zhang 2018-08-22  847  #ifdef CONFIG_ENABLE_SSG
126886d34 Junwei Zhang 2018-08-22  848  	struct percpu_ref	ref;
126886d34 Junwei Zhang 2018-08-22  849  	struct completion	cmp;
10db69817 Kevin Wang   2018-09-27  850  #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) || defined(OS_NAME_RHEL_7_6)
e7961cb5b Qiang Yu     2018-09-26  851  	struct dev_pagemap	pgmap
e7961cb5b Qiang Yu     2018-09-26  852  #endif
126886d34 Junwei Zhang 2018-08-22  853  #endif
126886d34 Junwei Zhang 2018-08-22 @854  };
126886d34 Junwei Zhang 2018-08-22  855  

:::::: The code at line 854 was first introduced by commit
:::::: 126886d3439de4ee754d6e809545d99fb1e78959 drm/amdgpu: [hybrid] add SSG support

:::::: TO: Junwei Zhang <Jerry.Zhang at amd.com>
:::::: CC: Kevin Wang <Kevin1.Wang at amd.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/20181220/9fc59bb3/attachment-0001.gz>


More information about the dri-devel mailing list