Skip to content
Commit b8771d0b authored by Michal Simek's avatar Michal Simek
Browse files

fru: ops: Do not let parser to write data to not allocated space



If customs fields in board area are used it will likely go over allocated
space in struct fru_board_data. That's why calculate limit of this
structure to make sure that different data is not rewritten by accident.
When limit is reached stop to record fields.

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 5fb093f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment