All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs, sysfs: Change sysfs_pathname function prototype.
@ 2010-10-31 11:48 Rakib Mullick
  2010-11-09 22:44 ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Rakib Mullick @ 2010-10-31 11:48 UTC (permalink / raw)
  To: Greg KH; +Cc: LKML, Andrew Morton

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@gmail>
---

--- 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);

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-11-13 14:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-31 11:48 [PATCH] fs, sysfs: Change sysfs_pathname function prototype Rakib Mullick
2010-11-09 22:44 ` Greg KH
2010-11-10  4:53   ` Rakib Mullick
2010-11-10 18:39     ` Greg KH
2010-11-11  6:11       ` Rakib Mullick
2010-11-11 12:19         ` Greg KH
2010-11-11 16:36           ` Rakib Mullick
2010-11-13 13:35             ` Rakib Mullick
2010-11-13 14:45               ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.