On Wed, 19 Sep 2007 21:43:14 -0700 David Brownell <david-b@pacbell.net> wrote:Head still spinning. a) "rtc0" != "rtc" ?? b) The kernel is trying to register two procfs files of the same name! If that's a configuration error then we have a Kconfiguration bug. We're relying on procfs behaviour to prevent registration of two rtc devices? That's a strange means of arbitration. And what happens when CONFIG_PROC_FS=n? No. What I mean is that we cannot change procfs as you propose until we have located and fixed all places in the kernel which can cause duplicated procfs names. (Good luck with that). Because we've had this happening before, and *the driver kept working* (apart from, presumably, some of their procfs features which, presumably, nobody used much). With the change which you propose, these drivers will probably stop working, because they will newly find their procfs registration failed. I'm not sure that anything _has_ changed. It's just that a few people have suddenly noticed duplicated rtc entris in /proc. Perhaps theye were there for some time. A driver which checks the return value from procfs registration and which then errors out (as it should) if that registration fails. -
| Justin C. Sherrill | Re: dragonflybsd.org website link? |
| David Woodhouse | Re: -mm merge plans for 2.6.23 |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| Eric Sandeen | Re: [RFC] Heads up on sys_fallocate() |
git: | |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Patrick McHardy | [NET_SCHED 01/15]: sch_atm: fix format string warning |
