commit | bd8d50f067d749143b24472ad41c1ef4f3df447e | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Fri Nov 06 13:55:45 2020 +0100 |
committer | Michal Simek <michal.simek@xilinx.com> | Fri Nov 20 10:42:54 2020 +0100 |
tree | 1320ec1287fab68b6842673496d749643d61872a | |
parent | b682f00ca806eae0ca521ae61177c371f3143835 [diff] |
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: Michal Simek <michal.simek@xilinx.com>