On Wed, Jul 05, 2017 at 11:59:27AM -0700, Felix Manlunas wrote:
> From: Derek Chickles <[email protected]>
>
> The code that detects a failed soft reset of Octeon is comparing the wrong
> value against the reset value of the Octeon SLI_SCRATCH_1 register,
> resulting in an inability to detect a soft reset failure.  Fix it by using
> the correct value in the comparison, which is any non-zero value.
>
> Fixes: f21fb3ed364b ("Add support of Cavium Liquidio ethernet adapters")
> Fixes: c0eab5b3580a ("liquidio: CN23XX firmware download")
> Signed-off-by: Derek Chickles <[email protected]>
> Signed-off-by: Satanand Burla <[email protected]>
> Signed-off-by: Raghu Vatsavayi <[email protected]>
> Signed-off-by: Felix Manlunas <[email protected]>
> ---
> Patch Changelog:
>  v2: Revise patch comment, remove unnecessary "!= 0x0ULL" in if statements,
>      and add "Fixes:" tags
>
>  drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c | 2 +-
>  drivers/net/ethernet/cavium/liquidio/cn66xx_device.c    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <[email protected]>

Attachment: signature.asc
Description: PGP signature

Reply via email to