]> www.infradead.org Git - users/dwmw2/linux.git/commit
firmware: arm_ffa: Set handle field to zero in memory descriptor
authorBalint Dobszay <balint.dobszay@arm.com>
Thu, 1 Jun 2023 14:07:49 +0000 (16:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jun 2023 09:17:02 +0000 (11:17 +0200)
commit2ac1d1f54c228ea31e735e5b80605dc5af4773e7
treebbc9f27127862a5d7c917aaa9acfbaaf0fd5ec37
parentad2bd77d20983ad58639361f4aadf9085dc757de
firmware: arm_ffa: Set handle field to zero in memory descriptor

[ Upstream commit 3aa0519a4780f1b8e11966bd879d4a2934ba455f ]

As described in the commit 111a833dc5cb ("firmware: arm_ffa: Set
reserved/MBZ fields to zero in the memory descriptors") some fields in
the memory descriptor have to be zeroed explicitly. The handle field is
one of these, but it was left out from that change, fix this now.

Fixes: 111a833dc5cb ("firmware: arm_ffa: Set reserved/MBZ fields to zero in the memory descriptors")
Reported-by: Imre Kis <imre.kis@arm.com>
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Link: https://lore.kernel.org/r/20230601140749.93812-1-balint.dobszay@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firmware/arm_ffa/driver.c