[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160525.214356.1035437797033559058.davem@davemloft.net>
Date: Wed, 25 May 2016 21:43:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: andrew@...n.ch
Cc: marex@...x.de, netdev@...r.kernel.org, peppe.cavallaro@...com,
alexandre.torgue@...com
Subject: Re: [PATCH] net: stmmac: Fix incorrect memcpy source memory
From: Andrew Lunn <andrew@...n.ch>
Date: Thu, 26 May 2016 02:26:25 +0200
> On Thu, May 26, 2016 at 12:40:23AM +0200, Marek Vasut wrote:
>> 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>
>> Cc: David S. Miller <davem@...emloft.net>
>> Cc: Giuseppe Cavallaro <peppe.cavallaro@...com>
>> Cc: Alexandre Torgue <alexandre.torgue@...com>
>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists