| commit | 0d520201e868a6620b276bf31c260b9eb0bcdc8c | [log] [tgz] |
|---|---|---|
| author | Sheng Yong <shengyong1@xiaomi.com> | Mon Aug 25 09:54:51 2025 +0800 |
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Oct 16 17:51:33 2025 +0000 |
| tree | 20ad140b30d043bc00424f2ad6c8dfff6e151fd0 | |
| parent | 891e8467bb582f28193e1dde1203812ff6a390a6 [diff] |
inject.f2fs: fix and cleanup parsing numeric options This patch fixes: * parsing hex optarg of --idx option * converting -1 to 0xff...ff of --val option and do a little cleanup of converting string to a long integer. Signed-off-by: Sheng Yong <shengyong1@xiaomi.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>