On Tue, Mar 18, 2025 at 04:20:43PM +0530, Harsha Vardhan V M wrote: > Remove custom string functions and replace them with normal string > functions. Remove the custom strtou32 and replace it with > simple_strtoul. > > Signed-off-by: Harsha Vardhan V M <[email protected]> [snip] > @@ -54,14 +43,18 @@ static int do_fuse(struct cmd_tbl *cmdtp, int flag, int > argc, > argc -= 2 + confirmed; > argv += 2 + confirmed; > > - if (argc < 2 || strtou32(argv[0], 0, &bank) || > - strtou32(argv[1], 0, &word)) > + if (argc < 2) > return CMD_RET_USAGE; > > + bank = (u32)simple_strtoul(argv[0], NULL, 0);
Do we really need these casts? -- Tom
signature.asc
Description: PGP signature

