Re: [PATCH] nfc: pn533: initialize struct pn533_out_arg properly

From: Krzysztof Kozlowski
Date: Wed Mar 08 2023 - 05:23:13 EST


On 06/03/2023 22:48, Fedor Pchelkin wrote:
> struct pn533_out_arg used as a temporary context for out_urb is not
> initialized properly. Its uninitialized 'phy' field can be dereferenced in
> error cases inside pn533_out_complete() callback function. It causes the
> following failure:
>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Best regards,
Krzysztof