On Sun, Aug 17, 2025 at 03:06:05PM +0530, Akhilesh Patil wrote: > Use ARRAY_SIZE() macro while calculating size of an array to improve > code readability and reduce potential sizing errors. > Implement this suggestion given by spatch tool by running > coccinelle script - scripts/coccinelle/misc/array_size.cocci > Follow ARRAY_SIZE() macro usage pattern in ublk.c introduced by, > commit ec120093180b9 ("selftests: ublk: fix ublk_find_tgt()") > wherever appropriate to maintain consistency. > > Signed-off-by: Akhilesh Patil <akhil...@ee.iitb.ac.in> > --- > Testing: > * build checked for testing/selftests/ublk > * tested by running > $ ./kublk --help > Which exercises the impacted code path.
Nice! Reviewed-by: Ming Lei <ming....@redhat.com> Thanks, Ming