On Thu, May 21, 2009 at 2:34 PM, Haiying Wang
<haiying.w...@freescale.com> wrote:
> +               printf("Warning: The number of MAC address is greater"
> +                       " than MAX_NUM_PORTS, force it to MAX_NUM_PORTS.\n");

I think you meant to do this:

printf("Warning: The number of MAC address is greater"
                  " than %u, force it to %u.\n", MAX_NUM_PORTS, MAX_NUM_PORTS);

But since you defined MAX_NUM_PORTS, you should also do this:

        u8 mac[MAX_NUM_PORTS][6];     /* 0x42 - 0x71 MAC addresses */

To indicate where the dependency on 8 comes from.

-- 
Timur Tabi
Linux kernel developer at Freescale
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to