DF-2072 / fix.diff
diff --git a/sys/dev/drm/amd/powerplay/smumgr/smu10_smumgr.c b/sys/dev/drm/amd/powerplay/smumgr/smu10_smumgr.c --- a/sys/dev/drm/amd/powerplay/smumgr/smu10_smumgr.c +++ b/sys/dev/drm/amd/powerplay/smumgr/smu10_smumgr.c @@ -113,7 +113,7 @@ } static int smu10_copy_table_from_smc(struct pp_hwmgr *hwmgr, - uint8_t *table, int16_t table_id) + uint8_t *table, uint16_t table_id) { struct smu10_smumgr *priv = (struct smu10_smumgr *)(hwmgr->smu_backend); @@ -141,7 +141,7 @@ } static int smu10_copy_table_to_smc(struct pp_hwmgr *hwmgr, - uint8_t *table, int16_t table_id) + uint8_t *table, uint16_t table_id) { struct smu10_smumgr *priv = (struct smu10_smumgr *)(hwmgr->smu_backend); |