Re: [PATCH] drm/amdgpu: fix compile warnings

2019-03-04 Thread Christian König
Am 01.03.19 um 17:43 schrieb Bhawanpreet Lakha: Fixes the warnings below warning: ‘ta_hdr’ may be used uninitialized in this function [-Wmaybe-uninitialized] warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] warning: unused variable ‘ras_cmd’ [-Wunused-variab

Re: [PATCH] drm/amdgpu: fix compile warnings

2019-03-01 Thread Wentland, Harry
On 2019-03-01 11:46 a.m., Wentland, Harry wrote: > On 2019-03-01 11:43 a.m., Bhawanpreet Lakha wrote: >> Fixes the warnings below >> >> warning: ‘ta_hdr’ may be used uninitialized in this function >> [-Wmaybe-uninitialized] >> warning: ISO C90 forbids mixed declarations and code >> [-Wdeclarati

Re: [PATCH] drm/amdgpu: fix compile warnings

2019-03-01 Thread Wentland, Harry
On 2019-03-01 11:43 a.m., Bhawanpreet Lakha wrote: > Fixes the warnings below > > warning: ‘ta_hdr’ may be used uninitialized in this function > [-Wmaybe-uninitialized] > warning: ISO C90 forbids mixed declarations and code > [-Wdeclaration-after-statement] > warning: unused variable ‘ras_cmd’ [

[PATCH] drm/amdgpu: fix compile warnings

2019-03-01 Thread Bhawanpreet Lakha
Fixes the warnings below warning: ‘ta_hdr’ may be used uninitialized in this function [-Wmaybe-uninitialized] warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] warning: unused variable ‘ras_cmd’ [-Wunused-variable] warning: comparison of distinct pointer types