cmd: mem: refuse mtest when end equals start
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Thomas Perrot
do_mem_mtest()rejects a range where end is before start, but not one where they are equal. An equal start and end passes through tomem_test_alt(), wherenum_words= (end - start) / sizeof(ulong) comes out to 0, leaving the function to operate on a range it was never meant to handle rather than on the empty one actually requested.[...]
Applied to u-boot/main, thanks!
[1/1] cmd: mem: refuse mtest when end equals start
commit: 56b222b13af16d0a92463b6695f3b833b5299453
Signature · 1 line
Tom