On Fri, Jul 17, 2026 at 11:02:14AM +0000, [email protected] wrote: > [Severity: Low] > Will this result in a build failure due to strict type checking in the min() > macro? > > Further down in cla_op_access_reg(), the code calculates the max register > using min(): > > while (nregs > 0) { > unsigned int reg_group = ALIGN_DOWN(regidx, 8); > unsigned int max_reg = min(regidx + nregs, reg_group + 8); > > Since nregs is a size_t (64-bit on ARM64) and reg_group is an unsigned int > (32-bit)
reg_group is now 64-bit
