Re: [PATCH v8 4/6] drm/dp_mst: Fill branch->num_ports

2019-08-26 Thread Harry Wentland
On 2019-08-26 2:05 p.m., David Francis wrote: > This field on drm_dp_mst_branch was never filled > > It is initialized to zero when the port is kzallocced. > When a port is added to the list, increment num_ports, > and when a port is removed from the list, decrement num_ports. > > v2: remember to

[PATCH v8 4/6] drm/dp_mst: Fill branch->num_ports

2019-08-26 Thread David Francis
This field on drm_dp_mst_branch was never filled It is initialized to zero when the port is kzallocced. When a port is added to the list, increment num_ports, and when a port is removed from the list, decrement num_ports. v2: remember to decrement on port removal v3: don't explicitly init to 0 S