Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6143432iog; Thu, 23 Jun 2022 12:14:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ubX3Zm0l/SSenyrTJSO6K1W74QRkezAGzJznt2+okpQISkNOeJu39UAau/eN4AC+mMxivj X-Received: by 2002:aa7:c9c9:0:b0:431:962f:f61e with SMTP id i9-20020aa7c9c9000000b00431962ff61emr12791924edt.189.1656011691232; Thu, 23 Jun 2022 12:14:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656011691; cv=none; d=google.com; s=arc-20160816; b=uM40furD8GQZ/x73A/yUFuiFVLQRyT7kj0rO5yjw9ronHyshs9aNnyB4OFgVNrYxwy sqor9zJzWh1i7tNvJUyrfVI4sHVGEJAUB+feJ+13Koh1TBzuYzlUNdcZSHOPJQoPfuAp lSFUmzF+PC0NRGEbUbQUdJuKzsMoy9ID4y93WNPvu6KVyOs6zvWnTYHlhIsZBwiM8z1n iDYQOTx2m7G9BOTXRMbdSoFQpcoGBA1p5mxZgDyeP1QTi8+9ukRU2DaCQHEsdPHnXYV9 aQoDem3SqGeirTtCM9HJAr0d5F0rhUyGkk1C1fasSD98TCph0dZui089a3Ey9BrH7OYx WvLA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ulDkMUAOO2hdZW4xUXr3tgG4zcFWSVhYupLuMw6Hj9s=; b=OPODxo8CFdnY/P8jfpkDYWLV3w3AQBMngxMGZ6bkQWHv0m5q+0Q1ZWOEAOfW36JG60 T1SKvDciTCiURbUsYoaYUI8cMXQvkOpLfUXLUamaCgdVkGHFvtQfTWy71lTFtgD+/uYa t7A9cjIElc/GVJOaSR/p5Qvlp3CkhncAewkomnGxgyxBTntrtr6VhJgbJZRxK+mjLVcQ LXlTsfYcZAxDfi4fF4IjhuxxCpNbahg0OgJzXNU36uqWRBuhekGg5WYQSGM26o+/h5XJ W1SsqMMYJsr9I3cOQTQlV4z1czMqkyVfrb5pOhFeVoSRJ1zV79HP4RpxI1foETQLDXYP ik6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=onmFfDkU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t1-20020aa7d701000000b004357060e676si395042edq.68.2022.06.23.12.14.25; Thu, 23 Jun 2022 12:14:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=onmFfDkU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233423AbiFWQ5s (ORCPT + 99 others); Thu, 23 Jun 2022 12:57:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233603AbiFWQvP (ORCPT ); Thu, 23 Jun 2022 12:51:15 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E07B850010; Thu, 23 Jun 2022 09:49:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 554D5CE24F9; Thu, 23 Jun 2022 16:49:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B6F2C3411B; Thu, 23 Jun 2022 16:49:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656002957; bh=IXRIJ1GHDIZo2SuBShIm4o6PtlLtHIr1VFnSfZwBj5Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=onmFfDkUyZLE6/PIHiP/m449MNjqghk25NERrSuNDU0APMtkQTQDXFjmbsDAE9BsH SYwUDhGf9BhgPyHKlRWjMB4ZoOVSaLhSx5F85bXeL9NVxqSSHegH8Qe9hnFMXePwD1 9kk6YOMNL17d4lwYgaMXKYrZGJDOLNrl9Pii6xJM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Eric Biggers , Ard Biesheuvel , Herbert Xu , "Jason A. Donenfeld" Subject: [PATCH 4.9 080/264] crypto: blake2s - adjust include guard naming Date: Thu, 23 Jun 2022 18:41:13 +0200 Message-Id: <20220623164346.333650677@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164344.053938039@linuxfoundation.org> References: <20220623164344.053938039@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-kernel@vger.kernel.org From: Eric Biggers commit 8786841bc2020f7f2513a6c74e64912f07b9c0dc upstream. Use the full path in the include guards for the BLAKE2s headers to avoid ambiguity and to match the convention for most files in include/crypto/. Signed-off-by: Eric Biggers Acked-by: Ard Biesheuvel Signed-off-by: Herbert Xu Signed-off-by: Jason A. Donenfeld Signed-off-by: Greg Kroah-Hartman --- include/crypto/blake2s.h | 6 +++--- include/crypto/internal/blake2s.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) --- a/include/crypto/blake2s.h +++ b/include/crypto/blake2s.h @@ -3,8 +3,8 @@ * Copyright (C) 2015-2019 Jason A. Donenfeld . All Rights Reserved. */ -#ifndef BLAKE2S_H -#define BLAKE2S_H +#ifndef _CRYPTO_BLAKE2S_H +#define _CRYPTO_BLAKE2S_H #include #include @@ -99,4 +99,4 @@ static inline void blake2s(u8 *out, cons blake2s_final(&state, out); } -#endif /* BLAKE2S_H */ +#endif /* _CRYPTO_BLAKE2S_H */ --- a/include/crypto/internal/blake2s.h +++ b/include/crypto/internal/blake2s.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0 OR MIT */ -#ifndef BLAKE2S_INTERNAL_H -#define BLAKE2S_INTERNAL_H +#ifndef _CRYPTO_INTERNAL_BLAKE2S_H +#define _CRYPTO_INTERNAL_BLAKE2S_H #include @@ -16,4 +16,4 @@ static inline void blake2s_set_lastblock state->f[0] = -1; } -#endif /* BLAKE2S_INTERNAL_H */ +#endif /* _CRYPTO_INTERNAL_BLAKE2S_H */