From: Ryder Lee <ryder....@mediatek.com>
Date: Mon, 20 Feb 2017 18:32:30 +0800

> @@ -879,6 +879,9 @@ static void macsec_decrypt_done(struct 
> crypto_async_request *base, int err)
>  
>       aead_request_free(macsec_skb_cb(skb)->req);
>  
> +     if (err == 0)
> +      macsec_skb_cb(skb)->valid = true;
> +

This is not indented properly, please use TABs like the rest of
the code does.  And the canonical way to test against zero is
"if (!err)"

Reply via email to