From patchwork Sat Jan 20 23:48:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10176777 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0C80C6023A for ; Sat, 20 Jan 2018 23:49:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E07FB205AF for ; Sat, 20 Jan 2018 23:49:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D52E4205F8; Sat, 20 Jan 2018 23:49:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBE53205AF for ; Sat, 20 Jan 2018 23:49:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756732AbeATXtG (ORCPT ); Sat, 20 Jan 2018 18:49:06 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:45365 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756726AbeATXtF (ORCPT ); Sat, 20 Jan 2018 18:49:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kPrpvs4BM871wWN2lJbDaDkxV3HoKyG19EM4OmlIxh8=; b=lBsOn+sxt8I8EIQpK0VEL+kXA 6f+y5IU7MvmeEqwy88dOwDzKNURkjY4I84D4xXVdupKtvoaoWD7EESb9/f1KzHD/mXHdfK236G84W TU5HcOzrwT2ZqrnvmnrZQXrorOjdUnU0fn3K2dLITYtYL2BbC6b7lwthJ9sxVTN8tB4uzakuDhEyl rRj9FacukpKtThyih/ppmaz2YJqVt/V0ag24/dQdDR0vGsz4ouXU/7ePKc2i4UsxQVsT0SHGsnqYt cCDOPn0jXbh/O+Zau7rTYdApPMaASbbJQRPyXsns5mUu8ugAHbICtsbuRvE/eEg27DiojaLbZENvC hFGLzgfug==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.site) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1ed2sg-0001Ya-FL; Sat, 20 Jan 2018 23:49:02 +0000 To: Linux-Sparse , Christopher Li Cc: Josh Triplett From: Randy Dunlap Subject: [PATCH] sparse: minor manpage corrections Message-ID: <8f4eac6f-fe62-8238-0e89-fe117131b921@infradead.org> Date: Sat, 20 Jan 2018 15:48:58 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Fix some man page typos, punctuation, and grammar. Signed-off-by: Randy Dunlap Cc: Josh Triplett Reviewed-by: Josh Triplett --- sparse.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 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 --- 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