diff options
| author | Haoyu Lu <hechushiguitu666@gmail.com> | 2026-04-10 21:37:35 +0800 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-04-27 15:12:59 +0200 |
| commit | a92a9a49288d1aad67bd12457c80a1e3f463d85b (patch) | |
| tree | ac23ec67e345233fe703033482dc7d29da18a59b /include/linux/debugobjects.h | |
| parent | 6b07cdff176bc5f8fef459b85a7e2ea09e68543f (diff) | |
mtd: mtdsuper: replace simple_strtoul with kstrtouint
Modernize string-to-number conversion in mtdsuper.c by replacing
simple_strtoul with kstrtouint. This change provides proper type safety
for MTD device numbers which are non-negative integers.
Using kstrtouint avoids unsigned long to int conversion and is more
appropriate for device indices. The debug output format specifier is
updated to %u for unsigned int.
Signed-off-by: Haoyu Lu <hechushiguitu666@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
