Skip to content

xilinx: board: Improve legacy format handling

Michal Simek u-boot 2 versions Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Add +1 for strlcpy because only size -1 is used compare to strncpy.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3xilinx: board: Use ETH_ALEN macro for mac address sizeboard/xilinx/common/board.c+1 -10 replies
2/3xilinx: board: Fix xilinx_eeprom_legacy_cleanup()board/xilinx/common/board.c+6 -20 replies
3/3xilinx: board: Update logic in xilinx_read_eeprom_legacyboard/xilinx/common/board.c+14 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] xilinx: board: Improve legacy format handling

Hi,

fix and improve legacy format handling to cover cases where eeprom content is corrupted and random. Very likely detection algorithm can be improved - for example check that mac address is valid, check all strings, etc. but the aim of this series is to remove all non printable chars without mac address and never copy more bytes than expected.

Thanks,
Michal

Changes in v2:
- Add +1 for strlcpy because only size -1 is used compare to strncpy.

Michal Simek (3):
xilinx: board: Use ETH_ALEN macro for mac address size
xilinx: board: Fix xilinx_eeprom_legacy_cleanup()
xilinx: board: Update logic in xilinx_read_eeprom_legacy

 board/xilinx/common/board.c | 34 +++++++++++++++++++++-------------
 1 file changed, 21 insertions(+), 13 deletions(-)
Signature · 1 line
2.36.1