fru: ops: Clear fru table before storing data
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Wed, 23 Feb 2022 14:00:56 +0000 (15:00 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 7 Mar 2022 07:48:21 +0000 (08:48 +0100)
commit952b2e60de6d6a80f35878193649b49ae2e14df9
tree95b309686d737c2a46d5f2f01cd757c8b7806be1
parent6d3c46ed0e230d999c3f20f7fd4f3a88c03b14ca
fru: ops: Clear fru table before storing data

Fill fru table with 0's before using it, to avoid junk data.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/e5f15caf9c2102316e39f300d7c9c1ecb6be8439.1645624855.git.michal.simek@xilinx.com
board/xilinx/common/fru_ops.c