Re: [PATCH v2 1/2] staging: rtl8723bs: fix stainfo check in rtw_aes_decrypt

From: Dan Carpenter

Date: Thu Apr 16 2026 - 17:13:18 EST


On Thu, Apr 16, 2026 at 11:53:37PM +0400, Maksym Pikhotskyi wrote:
> The null-pointer-guard was incorrect, returning _FAIL on valid pointer.
> Invert the guard, so it returns _FAIL on invalid pointer.
>
> Fixes: e23ad1570028 ("staging: rtl8723bs: use guard clause for stainfo check")
> Signed-off-by: Maksym Pikhotskyi <mpikhotskyi@xxxxxxxxx>
> ---

You need to put a little note here under the --- cut off line which says:

v2: rebased on linux-next.
Also added another fix?

Please send v3. You can still add my Reviewed-by tag though.

regards,
dan carpenter