Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp112474iof; Sun, 5 Jun 2022 22:45:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhkwYcMNAp+/6UqcRcxeXp6Us2rz6MsyIR6GsHPCSz1hXHw7CE9MPmxt/imV2kNpGmodme X-Received: by 2002:a17:90b:4d05:b0:1e0:b53:f4a3 with SMTP id mw5-20020a17090b4d0500b001e00b53f4a3mr48395625pjb.3.1654494344282; Sun, 05 Jun 2022 22:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654494344; cv=none; d=google.com; s=arc-20160816; b=qSzzi92ZB/mFoMPc/CTT+JejGOxAM6mt3gkGPpSzN7ozfJEFmZQWADm2E0mO6KZM/m TuTXeJXuDkxx+P2H9Yalf7WTGzmX3tM8N08AcYvuf8vZL165HjPwPR5alLFSZqDUXGi7 sX5N9bWB2GahnqmtPPtGOlkmxegIin6L21HiXxBZf7vlbUrZ/W0q2/Hl2SZtyNCJaGgu rxEaSbLk5WxPvq0UpUplkMQfiW+Ddr5yfdPwXreQ+ArvGAanW+ZuV8wYJM+bEMNE1G4B OiPSiBXQ9gzTgKEeanBuGbM2iWItDoMkRrCZ0KUU+j7E6YcOB5ID0Pf6diCTfcl64m5a oQBQ== 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 :message-id:date:subject:cc:to:from; bh=6zb/SARjevzHxhib7tPyObmiyN/hFZ0w15p8lR/5G+Q=; b=GfGgEJ5NZiv4wjT1nGzympZMeP0KAG4NAIYIwVQRgUFNjkC+/tQGuWwTv+3e3MI+DP x7ImU5A9WAiACiKMxuR/UCJSNYFjCIse6cjGlM+3f3gCCLzSl+96ZvQ+9S/G2a3pIg61 J6M9C4GMwbf30JNuUoe8AZdlf1mGIRTM2sCLM5bR3K6aOGTgQtwDVTCK9U8rVx3vebu5 sfNY6HF4SRwZonAm/U/Vsvk8P/TvPAUEV6tIxMju0sxc2UMi4/TtsUUwDtA4z/nuPypd jHYr4bIBwHz8vNsrADnkDL9I2O7/iJZ8Y0+TE9ov631ffNnGJz0CTz6wOYkq7/l4Wcjh tvgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k18-20020a170902c41200b00161d4849a90si6767579plk.575.2022.06.05.22.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 22:45:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C7C0523CF7A; Sun, 5 Jun 2022 21:36:46 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350803AbiFEHdJ (ORCPT + 99 others); Sun, 5 Jun 2022 03:33:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350795AbiFEHdI (ORCPT ); Sun, 5 Jun 2022 03:33:08 -0400 Received: from smtp.smtpout.orange.fr (smtp10.smtpout.orange.fr [80.12.242.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD71ADF63 for ; Sun, 5 Jun 2022 00:33:06 -0700 (PDT) Received: from pop-os.home ([90.11.190.129]) by smtp.orange.fr with ESMTPA id xkkpnsBMh0JImxkkpnSyhV; Sun, 05 Jun 2022 09:33:03 +0200 X-ME-Helo: pop-os.home X-ME-Auth: YWZlNiIxYWMyZDliZWIzOTcwYTEyYzlhMmU3ZiQ1M2U2MzfzZDfyZTMxZTBkMTYyNDBjNDJlZmQ3ZQ== X-ME-Date: Sun, 05 Jun 2022 09:33:03 +0200 X-ME-IP: 90.11.190.129 From: Christophe JAILLET To: Herbert Xu , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-crypto@vger.kernel.org Subject: [PATCH] crypto: x86/camellia - Replace kernel.h with the necessary inclusions Date: Sun, 5 Jun 2022 09:32:53 +0200 Message-Id: <65634fb748cc0ce2cc5bafaf904cb5f76bd4edc4.1654414362.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org When kernel.h is used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved. Replace kernel.h inclusion with the list of what is really being used. Signed-off-by: Christophe JAILLET --- arch/x86/crypto/camellia.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/crypto/camellia.h b/arch/x86/crypto/camellia.h index 1dcea79e8f8e..547fb7e30928 100644 --- a/arch/x86/crypto/camellia.h +++ b/arch/x86/crypto/camellia.h @@ -4,7 +4,7 @@ #include #include -#include +#include #define CAMELLIA_MIN_KEY_SIZE 16 #define CAMELLIA_MAX_KEY_SIZE 32 -- 2.34.1