Linux SPARSE checker discussions
 help / color / mirror / Atom feed
From: Josh Triplett <josh@joshtriplett.org>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: Linux-Sparse <linux-sparse@vger.kernel.org>,
	Christopher Li <sparse@chrisli.org>
Subject: Re: [PATCH] sparse: minor manpage corrections
Date: Sat, 20 Jan 2018 16:16:15 -0800	[thread overview]
Message-ID: <20180121001615.GA17630@localhost> (raw)
In-Reply-To: <8f4eac6f-fe62-8238-0e89-fe117131b921@infradead.org>

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

  reply	other threads:[~2018-01-21  0:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-20 23:48 [PATCH] sparse: minor manpage corrections Randy Dunlap
2018-01-21  0:16 ` Josh Triplett [this message]
2018-01-21  2:29   ` Christopher Li
2018-01-23 10:50     ` Christopher Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180121001615.GA17630@localhost \
    --to=josh@joshtriplett.org \
    --cc=linux-sparse@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=sparse@chrisli.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox