mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2025-04-21 12:27:27 +03:00
add-copyright-notices.patch
Little notice cleanup + add ARRAY_SIZE Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
@@ -67,7 +67,7 @@ void start_qi(void)
|
||||
|
||||
this_board = boards[board];
|
||||
while (!n) {
|
||||
if (board >= (sizeof(boards) / sizeof(boards[0])))
|
||||
if (board >= ARRAY_SIZE(boards))
|
||||
/* can't put diagnostic on serial... too early */
|
||||
goto unhappy;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user