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>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 31 Oct 2010 17:48:36 +0600
From:	Rakib Mullick <rakib.mullick@...il.com>
To:	Greg KH <greg@...ah.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] fs, sysfs: Change sysfs_pathname function prototype.

Make sysfs_pathname inline, we we're hit by the following warning:


fs/sysfs/dir.c:410: warning: ‘sysfs_pathname’ defined but not used


Signed-off-by: Rakib Mullick <rakib.mullick@...il>
---

--- linus-36/fs/sysfs/dir.c	2010-10-21 02:30:22.000000000 +0600
+++ rakib-36/fs/sysfs/dir.c	2010-10-31 17:34:46.000000000 +0600
@@ -407,7 +407,7 @@ int __sysfs_add_one(struct sysfs_addrm_c
  *
  *	XXX: does no error checking on @path size
  */
-static char *sysfs_pathname(struct sysfs_dirent *sd, char *path)
+static inline char *sysfs_pathname(struct sysfs_dirent *sd, char *path)
 {
 	if (sd->s_parent) {
 		sysfs_pathname(sd->s_parent, path);
--
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