Re: [PATCH rdma-core] cxgb4: always query device before initializing chip version

Leon Romanovsky
2019-11-05T14:45:46Z

On Mon, Nov 04, 2019 at 05:56:08PM +0530, Potnuri Bharat Teja wrote:
> chip_version may be initialized wrongly if alloc_context() is
> invoked multiple times. therefore always query device to derive the
> correct chip_version.
>
> Fixes: c7e71b250268 ("cxgb4: fix chipversion initialization")
> Signed-off-by: Rahul Kundu <rahul.kundu@chelsio.com>
> Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
> ---
> providers/cxgb4/dev.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>

Thanks, applied.