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

kbuild test robot lkp at intel.com
Thu Feb 21 11:14:37 UTC 2019


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-18.50
head:   e4440937836a9d6a260bb43e87989b8cdd3c2f2c
commit: e4440937836a9d6a260bb43e87989b8cdd3c2f2c [1/1] drm/amdgpu: don't clamp debugfs register access to the BAR size
reproduce:
        # apt-get install sparse
        git checkout e4440937836a9d6a260bb43e87989b8cdd3c2f2c
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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

>> include/kcl/kcl_drm_global.h:46:30: sparse: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: sparse: error: expected ; at end of declaration
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:
   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: sparse: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: sparse: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:60:10: sparse: warning: symbol 'generic_reg_get' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:68:10: sparse: warning: symbol 'generic_reg_get2' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:78:10: sparse: warning: symbol 'generic_reg_get3' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:90:10: sparse: warning: symbol 'generic_reg_get4' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:104:10: sparse: warning: symbol 'generic_reg_get5' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:120:10: sparse: warning: symbol 'generic_reg_get6' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:138:10: sparse: warning: symbol 'generic_reg_get7' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:158:10: sparse: warning: symbol 'generic_reg_get8' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254:6: sparse: warning: symbol 'generic_write_indirect_reg' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:262:10: sparse: warning: symbol 'generic_read_indirect_reg' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:275:10: sparse: warning: symbol 'generic_indirect_reg_update_ex' was not declared. Should it be static?
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:
   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: sparse: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: sparse: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:33:9: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:34:9: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:35:9: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:36:9: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:37:9: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:38:9: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:39:9: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:40:9: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:41:9: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:43:9: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:48:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:49:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:58:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:60:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:69:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:70:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:79:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:87:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:88:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:97:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:99:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:100:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:108:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:109:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:118:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:120:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:122:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:124:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:126:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:132:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:134:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:135:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:136:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:138:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:140:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:142:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:144:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:146:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:148:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:150:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:152:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:154:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:156:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:158:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:160:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:162:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:164:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:169:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:171:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:173:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:175:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:177:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:179:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:181:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:183:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:185:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:187:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:189:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:191:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:193:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:203:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:204:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:213:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:215:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:217:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:218:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:222:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:232:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:233:34: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:242:17: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:244:17: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:256:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:347:37: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:349:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:354:37: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:355:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:357:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:362:37: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:364:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:364:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:369:37: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:370:33: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:372:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:376:37: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:378:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:378:17: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:413:28: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:413:28: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:413:28: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:416:28: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:417:29: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:418:9: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:482:46: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:482:46: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:482:46: sparse: warning: cast to restricted __le32
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:
   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: sparse: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: sparse: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:108:5: sparse: warning: symbol 'amdgpu_exp_hw_support' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:508:5: sparse: warning: symbol 'priv_cp_queues' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:516:6: sparse: warning: symbol 'keep_idle_process_evicted' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:520:5: sparse: warning: symbol 'cma_enable' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:577:5: sparse: warning: symbol 'sched_policy' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:587:5: sparse: warning: symbol 'hws_max_conc_proc' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:598:5: sparse: warning: symbol 'cwsr_enable' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:607:5: sparse: 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: sparse: warning: symbol 'send_sigterm' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:629:5: sparse: warning: symbol 'debug_largebar' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:640:5: sparse: warning: symbol 'ignore_crat' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:651:5: sparse: warning: symbol 'noretry' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:661:5: sparse: 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,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:
   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: sparse: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: sparse: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:325:39: sparse: warning: cast removes address space '<asn:2>' of expression
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:345:31: sparse: warning: cast removes address space '<asn:2>' of expression
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1421:65: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1423:55: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1424:50: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1425:50: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1426:56: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1428:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1429:45: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1430:51: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1431:55: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1432:57: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1434:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1435:53: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1437:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1439:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1440:46: sparse: warning: cast to restricted __le32
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:
   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: sparse: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: sparse: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:52:28: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:53:29: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:54:26: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:55:27: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:56:25: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:57:26: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:58:25: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:59:26: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:184:44: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:283:14: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:320:14: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:323:14: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:326:14: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:329:18: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:330:26: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:338:30: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:340:38: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:344:30: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:347:30: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:350:30: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:354:30: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:356:30: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:361:33: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:375:43: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:379:38: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:382:38: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:385:38: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:390:67: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:391:53: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:394:66: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:405:80: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:411:57: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:418:69: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:419:53: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:422:66: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:430:66: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:439:69: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:440:69: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:489:30: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:492:45: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:493:45: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:500:54: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:547:35: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:549:25: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:593:21: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:597:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:599:21: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:602:25: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:606:25: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:614:21: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:616:21: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:633:25: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:637:21: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:639:21: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:646:21: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:648:21: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:660:25: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:664:21: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:666:21: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:673:21: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:675:21: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:678:21: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:680:21: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:692:25: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:704:25: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:707:47: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:713:25: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:812:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:813:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:816:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:817:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:820:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:821:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:828:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:829:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:832:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:833:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:836:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:837:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:844:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:845:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:848:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:849:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:852:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:853:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:860:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:861:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:864:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:865:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:868:46: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:869:40: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:932:47: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:934:49: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:936:52: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:950:47: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:952:49: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:954:52: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:972:47: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c:974:49: sparse: warning: too many warnings
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
--
>> include/kcl/kcl_drm_global.h:46:30: sparse: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: sparse: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:56:36: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:56:36: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:56:36: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:57:39: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:57:39: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:57:39: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:58:37: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:58:37: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:58:37: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:59:38: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:59:38: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:59:38: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:66:45: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:66:45: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:66:45: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:67:46: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:67:46: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:67:46: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:69:44: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:69:44: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:69:44: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:70:47: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:70:47: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:70:47: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:75:38: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:75:38: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanRight
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:75:38: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:76:37: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:76:37: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanLeft
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:76:37: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:77:39: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:77:39: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanBottom
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:77:39: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:78:36: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:78:36: sparse:    expected unsigned short [addressable] [assigned] [usertype] usOverscanTop
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:78:36: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:201:23: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:201:23: sparse:    expected unsigned short [addressable] [usertype] usH_Size
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:201:23: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:202:32: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:202:32: sparse:    expected unsigned short [addressable] [usertype] usH_Blanking_Time
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:202:32: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:204:23: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:204:23: sparse:    expected unsigned short [addressable] [usertype] usV_Size
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:204:23: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:205:32: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:205:32: sparse:    expected unsigned short [addressable] [usertype] usV_Blanking_Time
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:205:32: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:207:29: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:207:29: sparse:    expected unsigned short [addressable] [usertype] usH_SyncOffset
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:207:29: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:209:28: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:209:28: sparse:    expected unsigned short [addressable] [usertype] usH_SyncWidth
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:209:28: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:211:29: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:211:29: sparse:    expected unsigned short [addressable] [usertype] usV_SyncOffset
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:211:29: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:213:28: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:213:28: sparse:    expected unsigned short [addressable] [usertype] usV_SyncWidth
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:213:28: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:229:39: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:229:39: sparse:    expected unsigned short [addressable] [assigned] [usertype] usAccess
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:229:39: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:278:44: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:278:44: sparse:    expected unsigned short [addressable] [usertype] usSpreadSpectrumAmountFrac
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:278:44: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:293:40: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:293:40: sparse:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumAmount
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:293:40: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:294:38: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:294:38: sparse:    expected unsigned short [addressable] [assigned] [usertype] usSpreadSpectrumStep
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:294:38: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:391:46: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:391:46: sparse:    expected unsigned short [addressable] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:391:46: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:400:42: sparse: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:403:53: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:403:53: sparse:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:403:53: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:414:61: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:414:61: sparse:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:414:61: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:433:42: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:493:46: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:493:46: sparse:    expected unsigned short [addressable] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:493:46: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:500:50: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:500:50: sparse:    expected unsigned int [addressable] [assigned] [usertype] ulDispEngClkFreq
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:500:50: sparse:    got restricted __le32 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:545:56: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:545:56: sparse:    expected unsigned int [addressable] [usertype] ulDCEClkFreq
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:545:56: sparse:    got restricted __le32 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:549:36: sparse: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:608:46: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:608:46: sparse:    expected unsigned short [addressable] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:608:46: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:609:42: sparse: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:609:42: sparse:    expected unsigned short [addressable] [usertype] usRefDiv
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:609:42: sparse:    got restricted __le16 [usertype]
   drivers/gpu/drm/amd/amdgpu/atombios_crtc.c:610:41: sparse: warning: incorrect type in assignment (different base types)
..

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: 64615 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190221/79eebd1a/attachment-0001.gz>


More information about the dri-devel mailing list