On 6/27/2022 2:23 PM, Dmitry Baryshkov wrote:
On 28/06/2022 00:01, Kuogee Hsieh wrote:
On 6/27/2022 1:05 PM, Dmitry Baryshkov wrote:
On Mon, 27 Jun 2022 at 22:26, Kuogee Hsieh
wrote:
On 6/27/2022 9:54 AM, Dmitry Baryshkov wrote:
If for some reason the msm_dp_config::descs array starts
On 28/06/2022 00:01, Kuogee Hsieh wrote:
On 6/27/2022 1:05 PM, Dmitry Baryshkov wrote:
On Mon, 27 Jun 2022 at 22:26, Kuogee Hsieh
wrote:
On 6/27/2022 9:54 AM, Dmitry Baryshkov wrote:
If for some reason the msm_dp_config::descs array starts from non-zero
index or contains the hole, setting
On 6/27/2022 1:05 PM, Dmitry Baryshkov wrote:
On Mon, 27 Jun 2022 at 22:26, Kuogee Hsieh wrote:
On 6/27/2022 9:54 AM, Dmitry Baryshkov wrote:
If for some reason the msm_dp_config::descs array starts from non-zero
index or contains the hole, setting the msm_dp_config::num_descs might
be not
On Mon, 27 Jun 2022 at 22:26, Kuogee Hsieh wrote:
>
>
> On 6/27/2022 9:54 AM, Dmitry Baryshkov wrote:
> > If for some reason the msm_dp_config::descs array starts from non-zero
> > index or contains the hole, setting the msm_dp_config::num_descs might
> > be not that obvious and error-prone. Use
On 6/27/2022 9:54 AM, Dmitry Baryshkov wrote:
If for some reason the msm_dp_config::descs array starts from non-zero
index or contains the hole, setting the msm_dp_config::num_descs might
be not that obvious and error-prone. Use ARRAY_SIZE to set this field
rather than encoding the value
Quoting Dmitry Baryshkov (2022-06-27 09:54:13)
> If for some reason the msm_dp_config::descs array starts from non-zero
> index or contains the hole, setting the msm_dp_config::num_descs might
> be not that obvious and error-prone. Use ARRAY_SIZE to set this field
> rather than encoding the value
If for some reason the msm_dp_config::descs array starts from non-zero
index or contains the hole, setting the msm_dp_config::num_descs might
be not that obvious and error-prone. Use ARRAY_SIZE to set this field
rather than encoding the value manually.
Reported-by: Kuogee Hsieh
Signed-off-by: