]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
cifs: Scripted clean up fs/smb/client/ntlmssp.h
authorDavid Howells <dhowells@redhat.com>
Thu, 11 Dec 2025 11:50:51 +0000 (11:50 +0000)
committerSteve French <stfrench@microsoft.com>
Sun, 8 Feb 2026 23:07:45 +0000 (17:07 -0600)
Remove externs, correct argument names and reformat declarations.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <sfrench@samba.org>
cc: Paulo Alcantara <pc@manguebit.org>
cc: Enzo Matsumiya <ematsumiya@suse.de>
cc: linux-cifs@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
cc: linux-kernel@vger.kernel.org
Acked-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/ntlmssp.h

index a11fddc321f6a9bc99958299856961efc7f2e7e8..be0365f08396ff0d07b3c5769bd7ad526bedd3ec 100644 (file)
@@ -142,16 +142,17 @@ typedef struct _AUTHENTICATE_MESSAGE {
  * Size of the session key (crypto key encrypted with the password
  */
 
-int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);
+int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len,
+                            struct cifs_ses *ses);
 int build_ntlmssp_negotiate_blob(unsigned char **pbuffer, u16 *buflen,
                                 struct cifs_ses *ses,
                                 struct TCP_Server_Info *server,
                                 const struct nls_table *nls_cp);
 int build_ntlmssp_smb3_negotiate_blob(unsigned char **pbuffer, u16 *buflen,
-                                struct cifs_ses *ses,
-                                struct TCP_Server_Info *server,
-                                const struct nls_table *nls_cp);
+                                     struct cifs_ses *ses,
+                                     struct TCP_Server_Info *server,
+                                     const struct nls_table *nls_cp);
 int build_ntlmssp_auth_blob(unsigned char **pbuffer, u16 *buflen,
-                       struct cifs_ses *ses,
-                       struct TCP_Server_Info *server,
-                       const struct nls_table *nls_cp);
+                           struct cifs_ses *ses,
+                           struct TCP_Server_Info *server,
+                           const struct nls_table *nls_cp);