[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150429.155056.2283090558132454304.davem@davemloft.net>
Date: Wed, 29 Apr 2015 15:50:56 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: hariprasad@...lsio.com
Cc: netdev@...r.kernel.org, leedom@...lsio.com, nirranjan@...lsio.com,
swise@...ngridcomputing.com
Subject: Re: [PATCH net] cxgb4: Fix MC1 memory offset calculation
From: Hariprasad Shenai <hariprasad@...lsio.com>
Date: Wed, 29 Apr 2015 17:19:05 +0530
> Commit 6559a7e8296002b4 ("cxgb4: Cleanup macros so they follow the same
> style and look consistent") introduced a regression where reading MC1
> memory in adapters where MC0 isn't present or MC0 size is not equal to MC1
> size caused the adapter to crash due to incorrect computation of memoffset.
> Fix is to read the size of MC0 instead of MC1 for offset calculation
>
> Signed-off-by: Steve Wise <swise@...ngridcomputing.com>
> Signed-off-by: Hariprasad Shenai <hariprasad@...lsio.com>
Applied and queued up for -stable, thanks.
--
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