lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 08 Nov 2010 21:29:58 +0530
From:	Atul Sowani <sowani@...il.com>
To:	viro@...iv.linux.org.uk
CC:	raven@...maw.net, linux-kernel@...r.kernel.org,
	linux-fsdevel@...r.kernel.org, autofs@...ux.kernel.org,
	linux-afs@...ts.infradead.org
Subject: Subject: [PATCH 2.6.36 1/1] autofs4: fix for root.c compiler warnings.

Added conditional compilation with CONFIG_COMPAT to avoid compiler warning:
fs/autofs4/root.c:31: warning: autofs4_root_compat_ioctl declared static but never defined

Signed-off-by: Atul Sowani <sowani@...il.com>
---
diff -uprN a/fs/autofs4/root.c b/fs/autofs4/root.c
--- a/fs/autofs4/root.c	2010-10-21 02:00:22.000000000 +0530
+++ b/fs/autofs4/root.c	2010-11-08 09:37:47.675766134 +0530
@@ -28,7 +28,9 @@ static int autofs4_dir_unlink(struct ino
 static int autofs4_dir_rmdir(struct inode *,struct dentry *);
 static int autofs4_dir_mkdir(struct inode *,struct dentry *,int);
 static long autofs4_root_ioctl(struct file *,unsigned int,unsigned long);
+#ifdef CONFIG_COMPAT
 static long autofs4_root_compat_ioctl(struct file *,unsigned int,unsigned long);
+#endif
 static int autofs4_dir_open(struct inode *inode, struct file *file);
 static struct dentry *autofs4_lookup(struct inode *,struct dentry *, struct nameidata *);
 static void *autofs4_follow_link(struct dentry *, struct nameidata *);
-- 
Atul Sowani (sowani@...il.com)
http://savannah.gnu.org/users/atul
------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ