From: Huazhong Tan <tanhuazh...@huawei.com>
Date: Wed, 1 Aug 2018 17:53:28 +0800

> From: fredalu <fred...@yeah.net>
> 
> While cleaning the command queue, the value of the HEAD register is not
> in the range of next_to_clean and next_to_use, meaning that this value
> is invalid. This also means that there is a hardware error and the
> hardware will trigger a reset soon. At this time we should return an
> error code instead of 0, and HCLGE_STATE_CMD_DISABLE needs to be set to
> prevent sending command again.
> 
> Fixes: 3ff504908f95 ("net: hns3: fix a dead loop in hclge_cmd_csq_clean")
> Signed-off-by: Huazhong Tan <tanhuazh...@huawei.com>wq
            --->                                      ^^^

I think I know what text editor you use... :-)

Applied with 'wq' removed from your signoff... Thanks.

Reply via email to