On 9/13/2023 9:09 PM, John Watts wrote:
On Wed, Sep 13, 2023 at 02:34:38PM -0700, Jessica Zhang wrote:Hi John, Having a separate panel_regs_len field seems a bit unnecessary to me. Looks like it's only being called in the panel prepare() and I don't seen any reason why we shouldn't just call the ARRAY_SIZE() macro there.Can you call ARRAY_SIZE on an an array pointer?
Ah, I'd missed the array pointer declaration. This field is fine then. Thanks, Jessica Zhang
Thanks, Jessica ZhangJohn.