* [PATCH] sparse: minor manpage corrections
@ 2018-01-20 23:48 Randy Dunlap
2018-01-21 0:16 ` Josh Triplett
0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2018-01-20 23:48 UTC (permalink / raw)
To: Linux-Sparse, Christopher Li; +Cc: Josh Triplett
From: Randy Dunlap <rdunlap@infradead.org>
Fix some man page typos, punctuation, and grammar.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Josh Triplett <josh@joshtriplett.org>
---
sparse.1 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- sprs-2018-0119.orig/sparse.1
+++ sprs-2018-0119/sparse.1
@@ -56,7 +56,7 @@ arithmetic operations other than bitwise
one restricted type into another, except via a cast that includes
\fB__attribute__((force))\fR.
-__bitwise ends up being a "stronger integer separation". That one
+__bitwise ends up being a "stronger integer separation", one that
doesn't allow you to mix with non-bitwise integers, so now it's much
harder to lose the type by mistake.
@@ -204,7 +204,7 @@ Sparse issues these warnings by default.
.B \-Winit\-cstring
Warn about initialization of a char array with a too long constant C string.
-If the size of the char array and the length of the string is the same,
+If the size of the char array and the length of the string are the same,
there is no space for the last nul char of the string in the array:
.nf
@@ -348,7 +348,7 @@ Warn about preprocessor conditionals tha
preprocessor symbol.
Standard C (C99 6.10.1) permits using the value of an undefined preprocessor
-symbol in preprocessor conditionals, and specifies it has have a value of 0.
+symbol in preprocessor conditionals, and specifies it has a value of 0.
However, this behavior can lead to subtle errors.
Sparse does not issue these warnings by default.
@@ -368,7 +368,7 @@ normalized GNU triplet. (e.g. i386-linux
.TP
.B \-fdump-linearize[=only]
Dump the IR code of a function directly after its linearization,
-before any simplifications is made. If the argument \fB=only\fR is
+before any simplifications are made. If the argument \fB=only\fR is
also given no further processing is done on the function.
.
.B \-fmem-report
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sparse: minor manpage corrections
2018-01-20 23:48 [PATCH] sparse: minor manpage corrections Randy Dunlap
@ 2018-01-21 0:16 ` Josh Triplett
2018-01-21 2:29 ` Christopher Li
0 siblings, 1 reply; 4+ messages in thread
From: Josh Triplett @ 2018-01-21 0:16 UTC (permalink / raw)
To: Randy Dunlap; +Cc: Linux-Sparse, Christopher Li
On Sat, Jan 20, 2018 at 03:48:58PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix some man page typos, punctuation, and grammar.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Josh Triplett <josh@joshtriplett.org>
Looks good to me.
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
> sparse.1 | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> --- sprs-2018-0119.orig/sparse.1
> +++ sprs-2018-0119/sparse.1
> @@ -56,7 +56,7 @@ arithmetic operations other than bitwise
> one restricted type into another, except via a cast that includes
> \fB__attribute__((force))\fR.
>
> -__bitwise ends up being a "stronger integer separation". That one
> +__bitwise ends up being a "stronger integer separation", one that
> doesn't allow you to mix with non-bitwise integers, so now it's much
> harder to lose the type by mistake.
>
> @@ -204,7 +204,7 @@ Sparse issues these warnings by default.
> .B \-Winit\-cstring
> Warn about initialization of a char array with a too long constant C string.
>
> -If the size of the char array and the length of the string is the same,
> +If the size of the char array and the length of the string are the same,
> there is no space for the last nul char of the string in the array:
>
> .nf
> @@ -348,7 +348,7 @@ Warn about preprocessor conditionals tha
> preprocessor symbol.
>
> Standard C (C99 6.10.1) permits using the value of an undefined preprocessor
> -symbol in preprocessor conditionals, and specifies it has have a value of 0.
> +symbol in preprocessor conditionals, and specifies it has a value of 0.
> However, this behavior can lead to subtle errors.
>
> Sparse does not issue these warnings by default.
> @@ -368,7 +368,7 @@ normalized GNU triplet. (e.g. i386-linux
> .TP
> .B \-fdump-linearize[=only]
> Dump the IR code of a function directly after its linearization,
> -before any simplifications is made. If the argument \fB=only\fR is
> +before any simplifications are made. If the argument \fB=only\fR is
> also given no further processing is done on the function.
> .
> .B \-fmem-report
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sparse: minor manpage corrections
2018-01-21 0:16 ` Josh Triplett
@ 2018-01-21 2:29 ` Christopher Li
2018-01-23 10:50 ` Christopher Li
0 siblings, 1 reply; 4+ messages in thread
From: Christopher Li @ 2018-01-21 2:29 UTC (permalink / raw)
To: Josh Triplett; +Cc: Randy Dunlap, Linux-Sparse
On Sun, Jan 21, 2018 at 8:16 AM, Josh Triplett <josh@joshtriplett.org> wrote:
> On Sat, Jan 20, 2018 at 03:48:58PM -0800, Randy Dunlap wrote:
>> From: Randy Dunlap <rdunlap@infradead.org>
>>
>> Fix some man page typos, punctuation, and grammar.
>>
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>> Cc: Josh Triplett <josh@joshtriplett.org>
>
> Looks good to me.
> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Looks good to me. I will apply.
Chris
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-01-23 10:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-20 23:48 [PATCH] sparse: minor manpage corrections Randy Dunlap
2018-01-21 0:16 ` Josh Triplett
2018-01-21 2:29 ` Christopher Li
2018-01-23 10:50 ` Christopher Li
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.