[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151215.131341.175421419282676757.davem@davemloft.net>
Date: Tue, 15 Dec 2015 13:13:41 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: Dept-GELinuxNICDev@...gic.com, manish.chopra@...gic.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
rajesh.borundia@...gic.com
Subject: Re: [patch v2] qlcnic: fix a timeout loop
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Tue, 15 Dec 2015 16:56:16 +0300
> The problem here is that at the end of the loop we test for if
> idc->vnic_wait_limit is zero, but since idc->vnic_wait_limit-- is a
> post-op, it actually ends up set to (u8)-1. I have fixed this by
> moving the decrement inside the loop.
>
> Fixes: 486a5bc77a4a ('qlcnic: Add support for 83xx suspend and resume.')
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
--
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