From 42fbf9ae548d1f3ff351cc492017aeb7cbdef531 Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Sun, 14 Jun 2020 20:36:38 +0100 Subject: doc: correct some spelling Signed-off-by: Ramsay Jones Signed-off-by: Luc Van Oostenryck --- Documentation/release-notes/v0.6.2.rst | 8 ++++---- sparse.1 | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Documentation/release-notes/v0.6.2.rst b/Documentation/release-notes/v0.6.2.rst index 0ef67fc5..7439724c 100644 --- a/Documentation/release-notes/v0.6.2.rst +++ b/Documentation/release-notes/v0.6.2.rst @@ -10,7 +10,7 @@ V0.6.2 * add support for _Generic * fully propagate declarations downward - For exemple, it means that code like: + For example, it means that code like: static int foo(void); int foo(void) { return 0; } @@ -21,7 +21,7 @@ V0.6.2 * allow a single sparse executable to be used for multiple architectures * add support for -mcmodel & -f{pic,PIC,pie,PIE}, mainly for RISC-V * add new option, --arch=$ARCH, to specify the target architecture - * move all arch-specifc code in separated files (target-$ARCH.c) + * move all arch-specific code into separate files (target-$ARCH.c) * try to support the various floating-point ABIs on ARM * fix wchar_t & wint_t for openbsd * add missing predefines for PPC @@ -72,7 +72,7 @@ V0.6.2 * define _BIG_ENDIAN when needed * remove definition of _STRING_ARCH_unaligned (defined by glibc) * removed unneeded predefines for integers (now defined by sparse) - * better mult-arch support by using --arch=$ARCH + * better multi-arch support by using --arch=$ARCH * testsuite: * avoid standard includes in the tests @@ -90,7 +90,7 @@ V0.6.2 * misc: * add support for '-std=c17/c18' - * simplify testng of which version of the standard is used + * simplify testing of which version of the standard is used * various improvements to the 'dissect' tool * simplify the parsing of type specifiers * improve diagnostic messages concerning bitfields diff --git a/sparse.1 b/sparse.1 index bbcffc41..d916ad9e 100644 --- a/sparse.1 +++ b/sparse.1 @@ -437,22 +437,22 @@ Sparse does not issue these warnings by default. . .TP .B \-Wuniversal\-initializer -Do not suppress warnings caused by using '{ 0 }' instead of '{ }' on +Do not suppress warnings caused by using '{\ 0\ }' instead of '{\ }' on aggregate types, ignoring its special status as universal initializer. -The concerned warnings are, for exemple, those trigered by +The concerned warnings are, for example, those triggered by \fB\-Wdesignated\-init\fR or \fB\-Wnon\-pointer\-null\fR. -Sparse does not issue these warnings by default, processing '{ 0 }' -the same as '{ }'. +Sparse does not issue these warnings by default, processing '{\ 0\ }' +the same as '{\ }'. . .SH MISC OPTIONS .TP .B \-\-arch=\fIARCH\fR Specify the target architecture. For architectures having both a 32-bit and a 64-bit variant (mips, powerpc, -riscv & sparc) the architecture name can be suffixed with \fI32\fR or \fI64\fR. +riscv and sparc) the architecture name can be suffixed with \fI32\fR or \fI64\fR. -The default architecture & size is the one of the machine used to build Sparse. +The default architecture and size is the one of the machine used to build Sparse. . .TP .B \-gcc-base-dir \fIdir\fR @@ -502,7 +502,7 @@ http://www.kernel.org/pub/software/devel/sparse/ .SH MAILING LIST linux-sparse@vger.kernel.org . -.SH CONTRIBUTINGS AND REPORTING BUGS +.SH CONTRIBUTING AND REPORTING BUGS Submission of patches and reporting of bugs, as well as discussions related to Sparse, should be done via the mailing list (linux-sparse@vger.kernel.org) where the development and maintenance is primarily done. -- cgit 1.2.3-korg