projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f46608
)
cifs: remove unnecessary (void*) conversions.
author
Yu Zhe
<yuzhe@nfschina.com>
Tue, 14 Jun 2022 08:54:49 +0000
(
01:54
-0700)
committer
Steve French
<stfrench@microsoft.com>
Mon, 1 Aug 2022 06:34:44 +0000
(
01:34
-0500)
One more.
remove unnecessary void* type castings.
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_debug.c
patch
|
blob
|
history
diff --git
a/fs/cifs/cifs_debug.c
b/fs/cifs/cifs_debug.c
index 2cfbac8bb965059f2ec34d62c2b2a13fcfa179fd..97116c1710e2c32261725133b0d981b7885bb41d 100644
(file)
--- a/
fs/cifs/cifs_debug.c
+++ b/
fs/cifs/cifs_debug.c
@@
-36,7
+36,7
@@
cifs_dump_mem(char *label, void *data, int length)
void cifs_dump_detail(void *buf, struct TCP_Server_Info *server)
{
#ifdef CONFIG_CIFS_DEBUG2
- struct smb_hdr *smb =
(struct smb_hdr *)
buf;
+ struct smb_hdr *smb = buf;
cifs_dbg(VFS, "Cmd: %d Err: 0x%x Flags: 0x%x Flgs2: 0x%x Mid: %d Pid: %d\n",
smb->Command, smb->Status.CifsError,