]> www.infradead.org Git - mtd-utils.git/commit
ubi-tests: fm_param: Replace 'fm_auto' with 'fm_autoconvert'
authorZhihao Cheng <chengzhihao1@huawei.com>
Fri, 14 Jun 2019 12:19:50 +0000 (20:19 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Sun, 16 Jun 2019 10:27:18 +0000 (12:27 +0200)
commitbdcda755f2518dfbdc63a53fd4c820afe3f81859
treec1db356eeee2bd6a1318ec85970c177f5599b67c
parent68ddd0cf2afcf24aec1458fb3a2abdcf81917daa
ubi-tests: fm_param: Replace 'fm_auto' with 'fm_autoconvert'

The value of fm_param should be 'fm_autoconvert' rather than 'fm_auto' when
fastmap is supported by kernel. Currently, following verbose will appear in
dmesg when fm_param is set to 'fm_auto':

  ubi: unknown parameter 'fm_auto' ignored

This patch replace 'fm_auto' with 'fm_autoconvert' for fm_param, so ubi
kernel module can receive correct parameters.

----------------------------------------

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
tests/ubi-tests/ubi-stress-test.sh.in