[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100128.230359.112600771.davem@davemloft.net>
Date: Thu, 28 Jan 2010 23:03:59 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: ben@...adent.org.uk
Cc: ajitk@...verengines.com, netdev@...r.kernel.org, stable@...nel.org,
stable-review@...nel.org
Subject: Re: [PATCH] be2net: Bug fix to support newer generation of BE ASIC
From: Ben Hutchings <ben@...adent.org.uk>
Date: Thu, 28 Jan 2010 22:40:29 +0000
> On Thu, 2010-01-28 at 13:26 +0530, Ajit Khaparde wrote:
>> Bug fix in be2net for newer generation of BladeEngine ASIC.
> [...]
>> @@ -2162,6 +2168,7 @@ static int be_stats_init(struct be_adapter *adapter)
>> cmd->va = pci_alloc_consistent(adapter->pdev, cmd->size, &cmd->dma);
>> if (cmd->va == NULL)
>> return -1;
>> + memset(cmd->va, cmd->size, 0);
>> return 0;
>> }
>>
> [...]
>
> I don't think this does what you think it does.
I'll fix this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists