]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cifs: Do some preparation prior to organising the function declarations
authorDavid Howells <dhowells@redhat.com>
Mon, 1 Dec 2025 08:40:25 +0000 (08:40 +0000)
committerSteve French <stfrench@microsoft.com>
Fri, 5 Dec 2025 23:11:55 +0000 (17:11 -0600)
commit32a60868093aed5ccaa5e57f3b57f791f22ac133
treebbc410c3aefd8767fe914d917924100f71c5fd73
parentf80ac7eda1cf5205aaa2b676827ae1e312a5a894
cifs: Do some preparation prior to organising the function declarations

Make some preparatory cleanups prior to running a script to organise the
function declarations within the fs/smb/client/ headers.  These include:

 (1) Remove "inline" from the dummy cifs_proc_init/clean() functions as
     they are in a .c file.

 (2) Move should_compress()'s kdoc comment to the .c file and remove kdoc
     markers from the comments.

 (3) Rename CIFS_ALLOW_INSECURE_LEGACY in #endif comments to have CONFIG_
     on the front to allow the script to recognise it.

 (4) Don't let comments have bare words at the left margin as that confused
     the simplistic function detection code in the script.

 (5) Adjust some argument lists so that when and if the cleanup script is
     run they don't end up over 100 chars.

 (6) Fix a few comments to have missing '*' added or the "*/" moved to
     their own lines so that checkpatch doesn't moan over the cleanup
     script patch.

 (7) Move struct cifs_calc_sig_ctx to cifsglob.h.

 (8) Remove some __KERNEL__ conditionals.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
19 files changed:
fs/smb/client/cifs_debug.c
fs/smb/client/cifs_spnego.h
fs/smb/client/cifs_unicode.h
fs/smb/client/cifsfs.c
fs/smb/client/cifsglob.h
fs/smb/client/cifsproto.h
fs/smb/client/compress.c
fs/smb/client/compress.h
fs/smb/client/dir.c
fs/smb/client/dns_resolve.h
fs/smb/client/fs_context.c
fs/smb/client/misc.c
fs/smb/client/netmisc.c
fs/smb/client/smb2file.c
fs/smb/client/smb2inode.c
fs/smb/client/smb2maperror.c
fs/smb/client/smb2ops.c
fs/smb/client/smb2pdu.c
fs/smb/client/smb2proto.h