Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1170465pxk; Fri, 4 Sep 2020 02:29:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwagjmoWl38jADKKyAgSr8XSN8gMXsKjO4h0RRBo5BX4unogh1FdIaJBXmh9Ig+fKcuuV2j X-Received: by 2002:a17:906:f90c:: with SMTP id lc12mr6273959ejb.104.1599211777192; Fri, 04 Sep 2020 02:29:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599211777; cv=none; d=google.com; s=arc-20160816; b=mNBOFaMFqg3r+4P3Zwir2IOTqf+er1ZejXhAdyjsUWBJUw2MHdhWaU7HL3QCa0tncm LOh4NdK34NTz36A1uixCgWElYFCkcnrRyKrXm+KemYa7mmdXa55B+GtSeb5i8knNiCal NSqLBg172ajY1rSGDE9qN35cNHIY597Sc56k+H/CVmqs8ZFmGWjXwjpu70G5MS59NdiC x682PvwYJn3YJpyYpLU4BR11mFdKnWHfEk/0dpy+yDkBl00353hIUKviuWma4X1gCeg8 Iv2o3AhnqNM3/Epn4UIElg8vYSp1fDmOt3rWm5gCoYeyCC2aFQX6eGNXi0W1V4BUv1v1 SvSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1o6Cy5BAfyy+Al3HiDqYiH9PaHbBmeeGp84/wc50WBw=; b=RKvGW80GUbnh6nWJ13ERp+KV6L0qMjuvZmb8u1f88HfvZuetxUx2lrVPbMpnDUd1dT jHO+BD1ljPXkxeE11cMAOQUTisrP8JYmHa9uRBMJAf8rZx7Duo9ElRJYx8zbG8ivBXQW o24npCy5jdsfF+wTyhz1CzEPFc1LCsG5lqUifl7KUh8tOS16oQyZpH8uws26ZQLYIoGO VuhibNVfC5bW8FzVBdhZz5k7El4oYACsNwL55QVfEwFcf/3EqYaHSa7QTQJXCNeWW7pQ kuk9ixsUPRCE5zrxqKLaNnA5ppcT38PcSI4eU1udiC9GJoqrmh/ceGRgB+ODi161VTTc fMFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si3809275ejk.665.2020.09.04.02.29.09; Fri, 04 Sep 2020 02:29:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730090AbgIDJ1m (ORCPT + 99 others); Fri, 4 Sep 2020 05:27:42 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:2755 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729835AbgIDJ1W (ORCPT ); Fri, 4 Sep 2020 05:27:22 -0400 Received: from lhreml742-chm.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 47177DE6EC3476AF8C45; Fri, 4 Sep 2020 10:27:21 +0100 (IST) Received: from fraeml714-chm.china.huawei.com (10.206.15.33) by lhreml742-chm.china.huawei.com (10.201.108.192) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Fri, 4 Sep 2020 10:27:21 +0100 Received: from roberto-HP-EliteDesk-800-G2-DM-65W.huawei.com (10.204.65.160) by fraeml714-chm.china.huawei.com (10.206.15.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1913.5; Fri, 4 Sep 2020 11:27:20 +0200 From: Roberto Sassu To: , CC: , , , , Roberto Sassu , Subject: [PATCH v2 02/12] ima: Remove semicolon at the end of ima_get_binary_runtime_size() Date: Fri, 4 Sep 2020 11:23:29 +0200 Message-ID: <20200904092339.19598-3-roberto.sassu@huawei.com> X-Mailer: git-send-email 2.27.GIT In-Reply-To: <20200904092339.19598-1-roberto.sassu@huawei.com> References: <20200904092339.19598-1-roberto.sassu@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.204.65.160] X-ClientProxiedBy: lhreml709-chm.china.huawei.com (10.201.108.58) To fraeml714-chm.china.huawei.com (10.206.15.33) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch removes the unnecessary semicolon at the end of ima_get_binary_runtime_size(). Cc: stable@vger.kernel.org Fixes: d158847ae89a2 ("ima: maintain memory size needed for serializing the measurement list") Signed-off-by: Roberto Sassu --- security/integrity/ima/ima_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/integrity/ima/ima_queue.c b/security/integrity/ima/ima_queue.c index fb4ec270f620..c096ef8945c7 100644 --- a/security/integrity/ima/ima_queue.c +++ b/security/integrity/ima/ima_queue.c @@ -133,7 +133,7 @@ unsigned long ima_get_binary_runtime_size(void) return ULONG_MAX; else return binary_runtime_size + sizeof(struct ima_kexec_hdr); -}; +} static int ima_pcr_extend(struct tpm_digest *digests_arg, int pcr) { -- 2.27.GIT