On Sun, Jun 07, 2026 at 10:04:29PM -0700, Rosen Penev wrote: > Use a flexible array member to reduce allocation by 1. > > Add __counted_by for extra runtime analysis. Move counting variable > assignment after allocation before any array access, > > Signed-off-by: Rosen Penev <[email protected]> > --- > drivers/interconnect/qcom/icc-rpm.c | 7 ++----- > drivers/interconnect/qcom/icc-rpm.h | 2 +- > 2 files changed, 3 insertions(+), 6 deletions(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry

