diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-08-26 11:46:23 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-10-08 08:14:39 +0200 |
commit | 8e64d114e1016ba90bce54dc37d91277f0f2f282 (patch) | |
tree | 3cf437705baa92f9057b7e16a57ceb266bfb7f18 /tests/mtd-tests/flash_stress.c | |
parent | 7bf7d98cc094f4b0c6e535a7231ce310a9c6e23c (diff) |
mtd-tests: nandbiterrs: Store the chunks size in an intermediate variable
'pagesize' is used for two purposes:
- accessing the size of a page
- getting the size of the test buffer, which happen to be the size of a
page for now.
Use an intermediate variable when getting the size of the test buffer,
as we will later increase its size.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/mtd-tests/flash_stress.c')
0 files changed, 0 insertions, 0 deletions