Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6126145iog; Thu, 23 Jun 2022 11:54:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s9EkbpV/SG1n7jdkLm6nzJFGNHWCxsazHbWeCwrXs6c1OM91ipF8mHu4XxnCVDMEoaIxsm X-Received: by 2002:a17:906:77c8:b0:722:e753:fbbe with SMTP id m8-20020a17090677c800b00722e753fbbemr9737125ejn.692.1656010474441; Thu, 23 Jun 2022 11:54:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656010474; cv=none; d=google.com; s=arc-20160816; b=YF154YVc92WIsLRN5OxEEfFJMgw8CqvJ8MvHiF0PKM0rvy4mu0Fp+rz5MD0eS1+1+1 5pCSu0oc5xGL9JcetquktEvk/zsi/FrW8AE7OsawNw5Q34BpEeMVolsyaHSSlZ1NNEX9 I3+mxRC/3LyjSXiBqima20mjMT0YmHiGAAkmYUCQYbCC3Cd+DEcmHaFLpaSaO/WA6ugr N15M/hf6Qn4+rhSZpSHb/aSz5sd1GQUndYrUXilUgvw0uwuWeUvVpGDPDlERqtVVbelJ 2lR+jw67NLnMLTiDhuAcGGPA6TkboKiSWZaXP3USzPZsR+WUVh63vSTjnpPRD5QlSIE5 Y8BA== 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=FQeojwacOCuXUvTjI1TbGOtQR87+naP3cMsm+bf0OUzy/dnPt4HSn8/D+ycUiXVlYt WpgtY0PiVEszw/2iaZCpJCXB9tuKjcEsYL3DOSQ1C2i+yuyWWxtDDCbOaKV4pSKlHmqp t8TUb97m5HwgosmCXg6fVf/8DgGsCDNY5kDALrXvkZ7eEFtazt+FtuSHm980MhEugHA0 XFFCgXA9TXoNmmzVP3aQ88mlGxVjq4eEhDQgRYpDulhVvGjXWJVLXQr0igm7saZV25wt I9Idg0buDXXZF53Xy/4EYG95m491umKNBiuqWAmlikaN90FSfY+fUnN+OlgsZDmHUA6V q85Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KGeNvfO2; 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 hp40-20020a1709073e2800b0071200c979b1si1477992ejc.644.2022.06.23.11.54.09; Thu, 23 Jun 2022 11:54:34 -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=KGeNvfO2; 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 S235616AbiFWR4t (ORCPT + 99 others); Thu, 23 Jun 2022 13:56:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235917AbiFWRxh (ORCPT ); Thu, 23 Jun 2022 13:53:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E81AABA4E; Thu, 23 Jun 2022 10:14:25 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 024A261DDC; Thu, 23 Jun 2022 17:14:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C00E7C3411B; Thu, 23 Jun 2022 17:14:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656004464; bh=IXRIJ1GHDIZo2SuBShIm4o6PtlLtHIr1VFnSfZwBj5Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KGeNvfO2r4PYqCj8y+mqXlqDH3xXdEE5oG9Wa9Y5Gw+pICP9S1TTuxHYOqO8O4Ipx hbKXQ+oxlMmGpWke9AXSh1sZ0E9kDxE92PJIcnrThzKmuqJW4uzV3GTe8qIQo8KXLl H2/NhWQn55gLCwl0J2h3Jel5jIo48cn1jitgNE58= 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.19 047/234] crypto: blake2s - adjust include guard naming Date: Thu, 23 Jun 2022 18:41:54 +0200 Message-Id: <20220623164344.398089594@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164343.042598055@linuxfoundation.org> References: <20220623164343.042598055@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 */