diff options
author | Steve French <stfrench@microsoft.com> | 2022-07-16 07:45:45 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-08-01 09:34:44 +0300 |
commit | c2c17ddbf32bd89c4b5e3eb71068b52c890d07df (patch) | |
tree | e069ecf53c5dc377661ac816633444de5e26eb54 /fs/cifs/connect.c | |
parent | 0827f71b881c9d679df4cb33936cbe8bcaa77321 (diff) | |
download | linux-c2c17ddbf32bd89c4b5e3eb71068b52c890d07df.tar.xz |
cifs: remove some camelCase and also some static build warnings
Remove warnings for five global variables. For example:
fs/cifs/cifsglob.h:1984:24: warning: symbol 'midCount' was not declared. Should it be static?
Also change them from camelCase (e.g. "midCount" to "mid_count")
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 47a161f86662..fdd8452b8450 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -1240,7 +1240,7 @@ next_pdu: cifs_dbg(FYI, "Received oplock break\n"); } else { cifs_server_dbg(VFS, "No task to wake, unknown frame received! NumMids %d\n", - atomic_read(&midCount)); + atomic_read(&mid_count)); cifs_dump_mem("Received Data is: ", bufs[i], HEADER_SIZE(server)); smb2_add_credits_from_hdr(bufs[i], server); |