Re: [PATCH 3/3] drm/amdgpu/display: fix integer arithmetic problem

2017-11-02 Thread Harry Wentland
On 2017-11-02 07:26 AM, Arnd Bergmann wrote: > gcc warns about an ambiguous integer calculation: > > drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c: In function > 'calculate_bandwidth': > drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:534:5: error: this > decimal

[PATCH 3/3] drm/amdgpu/display: fix integer arithmetic problem

2017-11-02 Thread Arnd Bergmann
gcc warns about an ambiguous integer calculation: drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c: In function 'calculate_bandwidth': drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:534:5: error: this decimal constant is unsigned only in ISO C90 [-Werror]