build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47751 )
Change subject: nb/intel/sandybridge: Shorten `slotrank` to `rank` ......................................................................
Patch Set 2:
(3 comments)
https://review.coreboot.org/c/coreboot/+/47751/2/src/northbridge/intel/sandy... File src/northbridge/intel/sandybridge/raminit_common.h:
https://review.coreboot.org/c/coreboot/+/47751/2/src/northbridge/intel/sandy... PS2, Line 410: #define FOR_ALL_POPULATED_RANKS for (rank = 0; rank < NUM_SLOTRANKS; rank++) if (ctrl->rankmap[channel] & (1 << rank)) line over 96 characters
https://review.coreboot.org/c/coreboot/+/47751/2/src/northbridge/intel/sandy... PS2, Line 410: #define FOR_ALL_POPULATED_RANKS for (rank = 0; rank < NUM_SLOTRANKS; rank++) if (ctrl->rankmap[channel] & (1 << rank)) Macros with complex values should be enclosed in parentheses
https://review.coreboot.org/c/coreboot/+/47751/2/src/northbridge/intel/sandy... File src/northbridge/intel/sandybridge/raminit_common.c:
https://review.coreboot.org/c/coreboot/+/47751/2/src/northbridge/intel/sandy... PS2, Line 2884: if (ctrl->rankmap[channel] & (1 << rank)) { suspect code indent for conditional statements (24, 16)