diff options
author | Miquel Raynal <[email protected]> | 2024-02-23 12:55:43 +0100 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2024-03-15 00:04:50 +0100 |
commit | c7ee7c8d4b60fe46d4861b1200bc1c7ab657960a (patch) | |
tree | 547dfd3f8a500da6690a90c1fa77ff6d8ec2a2bc /tools/perf/util/trace-event-scripting.c | |
parent | c9692ebf6253c1d7325f287b268c4a1882136393 (diff) |
mtd: rawnand: Fix and simplify again the continuous read derivations
We need to avoid the first page if we don't read it entirely.
We need to avoid the last page if we don't read it entirely.
While rather simple, this logic has been failed in the previous
fix. This time I wrote about 30 unit tests locally to check each
possible condition, hopefully I covered them all.
Reported-by: Christophe Kerello <[email protected]>
Closes: https://lore.kernel.org/linux-mtd/20240221175327.42f7076d@xps-13/T/#m399bacb10db8f58f6b1f0149a1df867ec086bb0a
Suggested-by: Christophe Kerello <[email protected]>
Fixes: 828f6df1bcba ("mtd: rawnand: Clarify conditions to enable continuous reads")
Cc: [email protected]
Signed-off-by: Miquel Raynal <[email protected]>
Tested-by: Christophe Kerello <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions