Subject: Re: [PATCH] bgmac: register MII bus

From: Florian Fainelli <[email-masked]>
Date: Thu, 07 Mar 2013 12:45:34 +0100

Hello Rafal,

On 03/07/2013 12:42 PM, Rafał Miłecki wrote:
>
> Signed-off-by: Rafał Miłecki <[email-masked]>
> ---

This looking good, just one nitpick.

[snip]

> +
> +	mii_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL);

You can use kmalloc_array(PHY_MAX_ADDR, sizeof(int), GFP_KERNEL) here
--
Florian