[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160525.202020.79406085719609678.davem@redhat.com>
Date: Wed, 25 May 2016 20:20:20 -0400 (EDT)
From: David Miller <davem@...hat.com>
To: marex@...x.de
Cc: netdev@...r.kernel.org, peppe.cavallaro@...com,
alexandre.torgue@...com, andrew@...n.ch
Subject: Re: [PATCH] net: stmmac: Fix incorrect memcpy source memory
From: Marek Vasut <marex@...x.de>
Date: Thu, 26 May 2016 00:40:23 +0200
> The memcpy() currently copies mdio_bus_data into new_bus->irq, which
> makes no sense, since the mdio_bus_data structure contains more than
> just irqs. The code was likely supposed to copy mdio_bus_data->irqs
> into the new_bus->irq instead, so fix this.
>
> Signed-off-by: Marek Vasut <marex@...x.de>
Fixes: e7f4dc3536a4 ("mdio: Move allocation of interrupts into core")
Andrew, please review.
Powered by blists - more mailing lists