Hi Jani:
On 2020/4/14 19:08, Jani Nikula wrote:
On Mon, 13 Apr 2020, Alex Deucher wrote:
On Mon, Apr 13, 2020 at 5:29 AM Tang Bin wrote:
The struct drm_dp_desc contains struct drm_dp_dpcd_ident, and the struct
drm_dp_dpcd_ident contains the array, so zero-initialization requires a
more coupl
On Tue, 14 Apr 2020, Tang Bin wrote:
> But someone may query '{}' could not initialize all members, that's
> why I brought '{{{0}}}' up.
{} *does* initialize everything. What are you trying to say?
BR,
Jani.
--
Jani Nikula, Intel Open Source Graphics Center
On Mon, 13 Apr 2020, Alex Deucher wrote:
> On Mon, Apr 13, 2020 at 5:29 AM Tang Bin wrote:
>>
>> The struct drm_dp_desc contains struct drm_dp_dpcd_ident, and the struct
>> drm_dp_dpcd_ident contains the array, so zero-initialization requires a
>> more couple of braces. In the ARM compiler enviro
On Mon, Apr 13, 2020 at 5:29 AM Tang Bin wrote:
>
> The struct drm_dp_desc contains struct drm_dp_dpcd_ident, and the struct
> drm_dp_dpcd_ident contains the array, so zero-initialization requires a
> more couple of braces. In the ARM compiler environment, the compile
> warning pointing it out:
>
The struct drm_dp_desc contains struct drm_dp_dpcd_ident, and the struct
drm_dp_dpcd_ident contains the array, so zero-initialization requires a
more couple of braces. In the ARM compiler environment, the compile
warning pointing it out:
drivers/gpu/drm/drm_dp_mst_topology.c: In function
'dr