Re: [PATCH]Remove extra semicolon's in the kernel.

From: Andreas Schwab
Date: Tue Jul 26 2011 - 15:37:04 EST


"Justin P. Mattock" <justinmattock@xxxxxxxxx> writes:

> diff --git a/arch/ia64/include/asm/mca_asm.h b/arch/ia64/include/asm/mca_asm.h
> index dd2a5b1..d57d3c0 100644
> --- a/arch/ia64/include/asm/mca_asm.h
> +++ b/arch/ia64/include/asm/mca_asm.h
> @@ -46,11 +46,11 @@
> * 1. Put 0x7 in bits 61 thru 63.
> */
> #define DATA_PA_TO_VA(addr,temp) \
> - mov temp = 0x7 ;; \
> + mov temp = 0x7; \

Double semicolons are significant in the ia64 assembler language.

> diff --git a/scripts/setlocalversion b/scripts/setlocalversion
> index 4d40384..e187f1f 100755
> --- a/scripts/setlocalversion
> +++ b/scripts/setlocalversion
> @@ -101,7 +101,7 @@ scm_version()
> # Are there uncommitted changes?
> # These are represented by + after the changeset id.
> case "$hgid" in
> - *+|*+\ *) printf '%s' -dirty ;;
> + *+|*+\ *) printf '%s' -dirty;

Double semicolons are significant in the Bourne shell language.

Andreas.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/