diff mbox series

arm64: fix spelling mistake "ca not" -> "cannot"

Message ID AOoADQCXCJCLyVN7qh-tYqrl.1.1584244879067.Hmail.hankecai@vivo.com (mailing list archive)
State Mainlined
Commit 0c837c4f73d1a31f47e80ebc50bcf23668d895c4
Headers show
Series arm64: fix spelling mistake "ca not" -> "cannot" | expand

Commit Message

韩科才 March 15, 2020, 4:01 a.m. UTC
There is a spelling mistake in the comment, Fix it.

Signed-off-by: hankecai <hankecai@bbktel.com>
---
 arch/arm64/lib/strcmp.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Will Deacon March 17, 2020, 10:28 p.m. UTC | #1
On Sun, Mar 15, 2020 at 12:01:19PM +0800, 韩科才 wrote:
> There is a spelling mistake in the comment, Fix it.
> 
> Signed-off-by: hankecai <hankecai@bbktel.com>
> ---
>  arch/arm64/lib/strcmp.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/lib/strcmp.S b/arch/arm64/lib/strcmp.S
> index 4767540d1b94..4e79566726c8 100644
> --- a/arch/arm64/lib/strcmp.S
> +++ b/arch/arm64/lib/strcmp.S
> @@ -186,7 +186,7 @@ CPU_LE( rev	data2, data2 )
>  	* as carry-propagation can corrupt the upper bits if the trailing
>  	* bytes in the string contain 0x01.
>  	* However, if there is no NUL byte in the dword, we can generate
> -	* the result directly.  We ca not just subtract the bytes as the
> +	* the result directly.  We cannot just subtract the bytes as the
>  	* MSB might be significant.
>  	*/
>  CPU_BE( cbnz	has_nul, 1f )

Acked-by: Will Deacon <will@kernel.org>

Will
diff mbox series

Patch

diff --git a/arch/arm64/lib/strcmp.S b/arch/arm64/lib/strcmp.S
index 4767540d1b94..4e79566726c8 100644
--- a/arch/arm64/lib/strcmp.S
+++ b/arch/arm64/lib/strcmp.S
@@ -186,7 +186,7 @@  CPU_LE( rev	data2, data2 )
 	* as carry-propagation can corrupt the upper bits if the trailing
 	* bytes in the string contain 0x01.
 	* However, if there is no NUL byte in the dword, we can generate
-	* the result directly.  We ca not just subtract the bytes as the
+	* the result directly.  We cannot just subtract the bytes as the
 	* MSB might be significant.
 	*/
 CPU_BE( cbnz	has_nul, 1f )