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 manually. > > Reported-by: Kuogee Hsieh <quic_khsieh@xxxxxxxxxxx> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> > --- Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>