Re: [PATCH 4/5] staging: sm750fb: use ARRAY_SIZE macro in fb_find_mode loop

From: Ahmet Sezgin Duran

Date: Sat May 23 2026 - 11:09:08 EST


On 5/23/26 1:07 PM, Dan Carpenter wrote:

I don't love this. As you mentioned, there are two arrays and they
both have 3 elements. Why prefer one over the other? This patch
makes the code look simpler than it really is. I would just leave
it as 3.

regards,
dan carpenter


Fair. Going to drop that and send v2.

Thanks for the review.

Regards,
Ahmet Sezgin Duran