Fix spelling errors in ucc_fast.c and ucc_slow.c
PATCH 1/1 Fix spelling errors in ucc_fast.c and ucc_slow.c
From: Timur Tabi <[email protected]>
In ucc_fast.c and ucc_slow.c, "illegal" is twice spelled "illagal".
Signed-off-by Timur Tabi <[email protected]>
--- arch/powerpc/sysdev/qe_lib/ucc_fast.c | 2 +- arch/powerpc/sysdev/qe_lib/ucc_slow.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/sysdev/qe_lib/ucc_fast.c +1 -1
@@ -163,7 +163,7 @@ int ucc_fast_init(struct ucc_fast_info */* check if the UCC port number is in range. */ if ((uf_info->ucc_num <0 ) || (uf_info->ucc_num >UCC_MAX_NUM -1 )) { -uccf_err ("ucc_fast_init: Illagal UCC number!" ); +uccf_err ("ucc_fast_init: Illegal UCC number!" );return -EINVAL ; }
arch/powerpc/sysdev/qe_lib/ucc_slow.c +1 -1
@@ -152,7 +152,7 @@ int ucc_slow_init(struct ucc_slow_info */* check if the UCC port number is in range. */ if ((us_info->ucc_num <0 ) || (us_info->ucc_num >UCC_MAX_NUM -1 )) { -uccs_err ("ucc_slow_init: Illagal UCC number!" ); +uccs_err ("ucc_slow_init: Illegal UCC number!" );return -EINVAL ; }
Signature · 1 line
1.4.2.1