From patchwork Fri Jan 13 15:21:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 13100942 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F2EAC678D4 for ; Fri, 13 Jan 2023 15:28:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229748AbjAMP2e (ORCPT ); Fri, 13 Jan 2023 10:28:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230181AbjAMP2R (ORCPT ); Fri, 13 Jan 2023 10:28:17 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E2087EC86 for ; Fri, 13 Jan 2023 07:21:36 -0800 (PST) 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 AEA2362171 for ; Fri, 13 Jan 2023 15:21:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAAEFC433EF; Fri, 13 Jan 2023 15:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673623295; bh=BafomN1WImkk2tnPEHLusmFBeE7srAMZgK56SVJzrng=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=SJ61s10MmDxvvQ6gMlCr/3vGD6btzdIuXh9GmKervwJqP5g3WfqHwdSvDnCHvHHny SzizGMFe5gZpjKsm5C4fy/ufo0VVBRBWsX1ybenJaqvb5uNllsQ8KtTfRjtsHszIY+ XcS9yYOXllK05DMnpYSRE6vu/RGym/Dc7YIoFrLuXo9iSNkcjV8sJzQibqFKFC5Z5M XQkw13p4fdzFdyoRWWYyd5UqAzlk+CVeZxcRwJNFVAPGx/Wv7ia2LqqAVro15PpURf Hg137mg5XAhV9UhRyidwFAGU7sV87aWTx6tSU8eUn4cG2ACYUl1y0zBw+k9FMv5y/W ynbnX1XJG9n9g== Subject: [PATCH v1 01/41] SUNRPC: Add header ifdefs to linux/sunrpc/gss_krb5.h From: Chuck Lever To: linux-nfs@vger.kernel.org Cc: dhowells@redhat.com, simo@redhat.com Date: Fri, 13 Jan 2023 10:21:33 -0500 Message-ID: <167362329391.8960.2728300899554595366.stgit@bazille.1015granger.net> In-Reply-To: <167362164696.8960.16701168753472560115.stgit@bazille.1015granger.net> References: <167362164696.8960.16701168753472560115.stgit@bazille.1015granger.net> User-Agent: StGit/1.5 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Chuck Lever Standard convention: Ensure the contents of the header are included only once per source file. Tested-by: Scott Mayhew Signed-off-by: Chuck Lever --- include/linux/sunrpc/gss_krb5.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/linux/sunrpc/gss_krb5.h b/include/linux/sunrpc/gss_krb5.h index 91f43d86879d..0135139ddf20 100644 --- a/include/linux/sunrpc/gss_krb5.h +++ b/include/linux/sunrpc/gss_krb5.h @@ -1,6 +1,4 @@ /* - * linux/include/linux/sunrpc/gss_krb5_types.h - * * Adapted from MIT Kerberos 5-1.2.1 lib/include/krb5.h, * lib/gssapi/krb5/gssapiP_krb5.h, and others * @@ -36,6 +34,9 @@ * */ +#ifndef _LINUX_SUNRPC_GSS_KRB5_H +#define _LINUX_SUNRPC_GSS_KRB5_H + #include #include #include @@ -316,3 +317,5 @@ gss_krb5_aes_decrypt(struct krb5_ctx *kctx, u32 offset, u32 len, void gss_krb5_make_confounder(char *p, u32 conflen); + +#endif /* _LINUX_SUNRPC_GSS_KRB5_H */