Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Joachim Fenkes <fenkes@...>
Cc: LinuxPPC-Dev <linuxppc-dev@...>, LKML <linux-kernel@...>, Paul Mackerras <paulus@...>, Thomas Klein <tklein@...>, Paul Mackerras <pmac@...>, Jan-Bernd Themann <themann@...>, Christoph Raisch <raisch@...>, Stefan Roscher <stefan.roscher@...>, Nathan Lynch <ntl@...>
Date: Wednesday, August 29, 2007 - 2:33 pm

> +	len = strlen(dn->full_name + 1);

What happens when the full name is > 31 characters?  It looks to me that it 
will be truncated, which takes away the uniqueness guarantee.

There must be an individual property that is guaranteed to be unique and 
less than 32 characters.  How about "ibm,my-drc-index"?  That looks like a 
good candidate.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2.6.23] ibmebus: Prevent bus_id collisions, Joachim Fenkes, (Wed Aug 29, 12:15 pm)
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions, Arnd Bergmann, (Thu Aug 30, 2:22 pm)
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions, Joachim Fenkes, (Fri Aug 31, 10:34 am)
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions, Arnd Bergmann, (Fri Aug 31, 1:08 pm)
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions, Joachim Fenkes, (Fri Aug 31, 1:46 pm)
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions, jschopp, (Wed Aug 29, 2:33 pm)
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions, Joachim Fenkes, (Thu Aug 30, 10:00 am)
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions, Linas Vepstas, (Thu Aug 30, 5:28 pm)
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions, Joachim Fenkes, (Fri Aug 31, 4:57 am)
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions, Joel Schopp, (Thu Aug 30, 4:36 pm)
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions, Nathan Lynch, (Thu Aug 30, 1:56 pm)
Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions, Nathan Lynch, (Wed Aug 29, 2:12 pm)