From patchwork Thu Dec 20 19:59:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tycho Andersen X-Patchwork-Id: 10739521 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E4AA16C5 for ; Thu, 20 Dec 2018 19:59:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D23C628BA7 for ; Thu, 20 Dec 2018 19:59:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C642128BB8; Thu, 20 Dec 2018 19:59:43 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 6DEB228BA7 for ; Thu, 20 Dec 2018 19:59:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731465AbeLTT7n (ORCPT ); Thu, 20 Dec 2018 14:59:43 -0500 Received: from mail-io1-f65.google.com ([209.85.166.65]:33287 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725372AbeLTT7n (ORCPT ); Thu, 20 Dec 2018 14:59:43 -0500 Received: by mail-io1-f65.google.com with SMTP id t24so1842410ioi.0 for ; Thu, 20 Dec 2018 11:59:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tycho-ws.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cjBNMXJEe7yhynO0BJQEbrj2pSCrolpSJvzLNJ6ZJp8=; b=xWCon+D+98p4uXj+4WDwFI26UDpsxysfv/Ttb3YOd/KjWYaLQWfyD5/dju4gbh+Ls1 TZt34rnd7BlTYJA+9NAs1RXdYItb8RlMWmB9dXxtdsAADwMkceE5oExxtAqWH4ISuvBu dzbnNmkGbRV3AvQr+XKfTULpcWgTDeF9896gN+NSlPj0BlzFxpZrydQgSFhkh+mU5Jwj XOHj1Zyl54dxkOCU3fu8sHOhas27gSfxXjZZa4Yucqxin9ofZ6pqS2ELiruXimPEE7cT dhDVhH8NOF1eM8pokBXn6Pf4UhfqrZIUJw8ARhcA5hY5LvdgkdKf7R5s9ZgtVCsqILss /5Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cjBNMXJEe7yhynO0BJQEbrj2pSCrolpSJvzLNJ6ZJp8=; b=W7zA71WcmDl2UjHZ0SiTGBOItv9G1PacmtAp5SbLENaLBWAbhVgp1Fg1UEZK+X3jcW xtRjRA+XwnH8UjV2tSHIAPEydVbcyhAbHOvJLsTzis3cJzigMf7ulTq6cHXrxGtzHoYt mgdWFFw/0hc7xloPfVFwl9hBT/jB1h5YFLL3DMx8M8P//ebw535KzUIBY64L57oWk0o4 LyD15ghjq9s+MA9b0LVer6kLc4W8JEN68Q4HDW08M5yMlpONIV0S1P3UNz4ITTRMfji0 NhJByyAlpCuFM4jxReMJbbxe79htJW3QkPTPiYvACdcZUdJWnXMSZSdctfnACnDaX2Lc iNdg== X-Gm-Message-State: AJcUukdKzYjZQMhYxVRyz38e8qw9HSpLyUejCHq6YSPSL22Oq/88iNUD jZTn0vpRMw299Pe7bWtdbxZjTo4olVyIeQ== X-Google-Smtp-Source: AFSGD/XVKFp6FtAKyTPEnv78j4I3diMZorU00KjQ7xnbkGmUpqd2R5ivgcuLBUWXKD6l7vRd3XD8nQ== X-Received: by 2002:a5e:920c:: with SMTP id y12mr3895835iop.264.1545335981883; Thu, 20 Dec 2018 11:59:41 -0800 (PST) Received: from cisco.lan (71-218-133-134.hlrn.qwest.net. [71.218.133.134]) by smtp.gmail.com with ESMTPSA id b140sm5068429itc.4.2018.12.20.11.59.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Dec 2018 11:59:41 -0800 (PST) From: Tycho Andersen To: linux-sparse@vger.kernel.org, kernel-hardening@lists.openwall.com Cc: Tycho Andersen Subject: [RFC v1 1/4] expression.h: update comment to include other cast types Date: Thu, 20 Dec 2018 12:59:28 -0700 Message-Id: <20181220195931.20331-2-tycho@tycho.ws> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181220195931.20331-1-tycho@tycho.ws> References: <20181220195931.20331-1-tycho@tycho.ws> MIME-Version: 1.0 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 This part of the union is used with other cast types as well, so let's include those in the comment. Signed-off-by: Tycho Andersen --- expression.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expression.h b/expression.h index ba4157f..fece40d 100644 --- a/expression.h +++ b/expression.h @@ -187,7 +187,7 @@ struct expression { struct expression *base; unsigned r_bitpos, r_nrbits; }; - // EXPR_CAST and EXPR_SIZEOF + // EXPR_CAST, FORCE_CAST, EXPR_IMPLIED_CAST and EXPR_SIZEOF struct /* cast_arg */ { struct symbol *cast_type; struct expression *cast_expression;