mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 08:02:56 +00:00
smbfs: fix debug builds
Fix some warnings with SMBFS_DEBUG_* builds. This patch makes it so that builds with -Werror don't fail. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
60a0d23386
commit
dbaf4c024a
4 changed files with 7 additions and 6 deletions
|
@ -536,7 +536,7 @@ static int smb_fill_super(struct super_block *sb, void *raw_data, int silent)
|
|||
|
||||
/* Allocate the global temp buffer and some superblock helper structs */
|
||||
/* FIXME: move these to the smb_sb_info struct */
|
||||
VERBOSE("alloc chunk = %d\n", sizeof(struct smb_ops) +
|
||||
VERBOSE("alloc chunk = %lu\n", sizeof(struct smb_ops) +
|
||||
sizeof(struct smb_mount_data_kernel));
|
||||
mem = kmalloc(sizeof(struct smb_ops) +
|
||||
sizeof(struct smb_mount_data_kernel), GFP_KERNEL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue