[bug report] drm/amd/dc: Add dc display driver (v2)

2019-01-09 Thread Dan Carpenter
Hello Harry Wentland, This is a semi-automatic email about new static checker warnings. The patch 4562236b3bc0: "drm/amd/dc: Add dc display driver (v2)" from Sep 12, 2017, leads to the following Smatch complaint: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:754 construct() error:

[bug report] drm/amd/dc: Add dc display driver (v2)

2018-11-01 Thread Dan Carpenter
Hello Harry Wentland, The patch 4562236b3bc0: "drm/amd/dc: Add dc display driver (v2)" from Sep 12, 2017, leads to the following static checker warning: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:688 construct() error: we previously assumed 'dc->current_state' could be

[bug report] drm/amd/dc: Add dc display driver (v2)

2017-11-06 Thread Dan Carpenter
Hello Harry Wentland, The patch 4562236b3bc0: "drm/amd/dc: Add dc display driver (v2)" from Sep 12, 2017, leads to the following static checker warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:117 get_reg_field_value_ex() warn: mask and shift to zero