]> git.dujemihanovic.xyz Git - u-boot.git/commit
firmware: scmi: Fix clearing variable
authorFrancois Berder <fberder@outlook.fr>
Tue, 10 Oct 2023 17:44:32 +0000 (19:44 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 14 Oct 2023 01:21:07 +0000 (21:21 -0400)
commit66abf2bba36f8c5f3929b6de6fa377350d52bdd8
tree636b2beef8d9056926eee1d61b94d90e800b3b58
parent8057d8a66f9e6df9c6264ab8955d2dd416f23480
firmware: scmi: Fix clearing variable

The sess variable in open_channel was not entirely
cleared to zero at the start of this function.

This commit ensures that the entire struct is cleared.

Signed-off-by: Francois Berder <fberder@outlook.fr>
drivers/firmware/scmi/optee_agent.c