Skip to content

Commit

Permalink
string: Cleanup leading tabs
Browse files Browse the repository at this point in the history
Signed-off-by: Miquel Sabaté Solà <[email protected]>
  • Loading branch information
mssola committed Nov 20, 2024
1 parent 0c94897 commit bc649fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernel/string.S
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ strlen:
strcmp:
1:
lbu t0, 0(a0)
lbu t1, 0(a1)
bne t0, t1, 2f
lbu t1, 0(a1)
bne t0, t1, 2f
addi a0, a0, 1
addi a1, a1, 1
bnez t0, 1b
li a0, 0
ret
2:
sub a0, t0, t1
sub a0, t0, t1
ret

0 comments on commit bc649fa

Please sign in to comment.