Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4055864pxj; Tue, 8 Jun 2021 05:34:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKlwfC89wKEOdlho3e1gDf+2h+SP2xAKRNIyZ67/oJ89slClh/MybSee0+7PiYJvLSUk/g X-Received: by 2002:a17:906:6712:: with SMTP id a18mr20872230ejp.334.1623155643667; Tue, 08 Jun 2021 05:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623155643; cv=none; d=google.com; s=arc-20160816; b=XiWV2RQ61CZU8MB4pbaJHn1HIvRyBJFKYf93PwRRK/Y3Sgl0RMkTMDLQeIxRVfdiyt WeNmFnqXas7FM+lrIRhSVSneigA7XNmadm8NT/H6n/6DI46Jr+CyPfHLkgQJkjE2hlug fvftOwwtMUTkxvw0AE63+gGLPpz8pPt/JSWflYCp6t0rTxc5Z3CEzmdtpcP7uIGxGYUb OBPvun+Y9/u+QpNq+T40puu7RH/KjTF5vO6GB5RzI54likp5xd9CdoKuMwCxYmOUl5sr kcEo39ZDFMDIrtZKX4ScFXyVLfQ6x/h/WZJGJaA8m2eakKdbco/D5fpV37CyYkDhxkFw KTfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=8w15aOUFQH3TcDe5lojP2GuTWXbOGloMb5nG96wIYxE=; b=hqiN1I1WQSWDpUq54ihVeHu/Pa042qFlfgUSgh3zV2QVaKZFCgBeh4Oh2ks69d4r/N U9oiipkiTvF4SqlZo8XDW5QDRX7vUhAE6m2VyikkQ7tFV2G0DyozRomW5O8105z0ybLX yv33kloabhHgA6DPwKhutiyu3OQK0xIDQ7kn6xgF3Jo70Go3bq+DRx1ynH2426MUYoJh vusksHzOEAgD1P/+5eKExWhZc0AFTIMEw0FAPBwpnr9Ldq37dVCYV32UzzvboJ/X25bH hYy7m/ZPG3/Z3NBjyaVz7ZIVuxBkIEG8zEeb96JOFao+0XWYB2sGN4Etf/ZqGK1STUsR Wcqg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si2218372edd.181.2021.06.08.05.33.38; Tue, 08 Jun 2021 05:34:03 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232710AbhFHMd7 (ORCPT + 99 others); Tue, 8 Jun 2021 08:33:59 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3169 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232691AbhFHMd5 (ORCPT ); Tue, 8 Jun 2021 08:33:57 -0400 Received: from fraeml714-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Fzq6b1Xshz6G86r; Tue, 8 Jun 2021 20:19:19 +0800 (CST) Received: from roberto-ThinkStation-P620.huawei.com (10.204.62.217) by fraeml714-chm.china.huawei.com (10.206.15.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 8 Jun 2021 14:32:02 +0200 From: Roberto Sassu To: , CC: , , , , , Roberto Sassu Subject: [PATCH 4/5] ima: Include header defining ima_post_key_create_or_update() Date: Tue, 8 Jun 2021 14:31:23 +0200 Message-ID: <20210608123124.335868-4-roberto.sassu@huawei.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210608123124.335868-1-roberto.sassu@huawei.com> References: <20210608123124.335868-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.62.217] X-ClientProxiedBy: lhreml753-chm.china.huawei.com (10.201.108.203) To fraeml714-chm.china.huawei.com (10.206.15.33) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes the sparse warning for ima_post_key_create_or_update() by adding the header file that defines the prototype (linux/ima.h). Signed-off-by: Roberto Sassu --- security/integrity/ima/ima_asymmetric_keys.c | 1 + 1 file changed, 1 insertion(+) diff --git a/security/integrity/ima/ima_asymmetric_keys.c b/security/integrity/ima/ima_asymmetric_keys.c index 1fb0b0e09559..c985418698a4 100644 --- a/security/integrity/ima/ima_asymmetric_keys.c +++ b/security/integrity/ima/ima_asymmetric_keys.c @@ -11,6 +11,7 @@ #include #include +#include #include "ima.h" /** -- 2.25.1