login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
16
Re: sysfs: spit a warning to users when they try to create a duplicate sysfs file
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Greg KH <greg@...>
To: Cornelia Huck <cornelia.huck@...>
Cc: <linux-kernel@...>
Subject:
Re: sysfs: spit a warning to users when they try to create a duplicate sysfs file
Date: Sunday, September 16, 2007 - 4:39 pm
On Fri, Sep 14, 2007 at 02:06:21PM +0200, Cornelia Huck wrote:
quoted text
> On Thu, 13 Sep 2007 16:41:18 -0700, > Greg KH <greg@kroah.com> wrote: > > > > int sysfs_add_one(struct sysfs_addrm_cxt *acxt, struct sysfs_dirent *sd) > > { > > - if (sysfs_find_dirent(acxt->parent_sd, sd->s_name)) > > + if (sysfs_find_dirent(acxt->parent_sd, sd->s_name)) { > > + printk(KERN_WARNING, "sysfs: duplicate filename '%s' " > > Stray ',' here ------------------->^
Ugh, I suck :( greg k-h -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[RFC] Some driver core and kobject minor patches
, Greg KH
, (Thu Sep 13, 7:37 pm)
Re: [RFC] Some driver core and kobject minor patches
, Cornelia Huck
, (Fri Sep 14, 7:25 am)
kobject: remove the static array for the name
, Greg KH
, (Thu Sep 13, 7:44 pm)
kobjects: fix up improper use of the kobject name field
, Greg KH
, (Thu Sep 13, 7:43 pm)
cdev: remove unneeded setting of cdev names
, Greg KH
, (Thu Sep 13, 7:43 pm)
Drivers: clean up direct setting of the name of a kset
, Greg KH
, (Thu Sep 13, 7:42 pm)
Re: [RFC] Some driver core and kobject minor patches
, Greg KH
, (Thu Sep 13, 7:42 pm)
sysfs: spit a warning to users when they try to create a dup...
, Greg KH
, (Thu Sep 13, 7:41 pm)
Re: sysfs: spit a warning to users when they try to create a...
, Stefan Richter
, (Sat Sep 15, 8:44 am)
Re: sysfs: spit a warning to users when they try to create a...
, Cornelia Huck
, (Fri Sep 14, 8:06 am)
Re: sysfs: spit a warning to users when they try to create a...
, Greg KH
, (Sun Sep 16, 4:39 pm)
Driver core: remove subsys_set_kset
, Greg KH
, (Thu Sep 13, 7:40 pm)
Driver core: remove subsys_put()
, Greg KH
, (Thu Sep 13, 7:40 pm)
Driver core: remove subsys_get()
, Greg KH
, (Thu Sep 13, 7:40 pm)
Driver core: remove put_bus()
, Greg KH
, (Thu Sep 13, 7:39 pm)
Re: Driver core: remove put_bus()
, Cornelia Huck
, (Fri Sep 14, 7:03 am)
Driver core: remove kset_set_kset_s
, Greg KH
, (Thu Sep 13, 7:39 pm)
Driver core: remove get_bus()
, Greg KH
, (Thu Sep 13, 7:38 pm)
Re: Driver core: remove get_bus()
, Cornelia Huck
, (Fri Sep 14, 7:02 am)
Re: Driver core: remove get_bus()
, Greg KH
, (Fri Sep 14, 7:27 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andy Whitcroft
Re: 2.6.23-rc6-mm1
Greg KH
[GIT PATCH] driver core patches against 2.6.24
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Alan
Re: [RFC] Heads up on sys_fallocate()
git
:
linux-netdev
:
Natalie Protasevich
[BUG] New Kernel Bugs
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Winkler, Tomas
RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall"
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
489 guests
online.
Online users
sellmyhousefast
Syndicate