login
Header Space

 
 

Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jean Delvare <khali@...>
Cc: Geert Uytterhoeven <geert@...>, Alessandro Zummo <a.zummo@...>, Ralf Baechle <ralf@...>, Thomas Gleixner <tglx@...>, Andrew Morton <akpm@...>, <rtc-linux@...>, <i2c@...>, <linux-mips@...>, <linux-kernel@...>, David Brownell <david-b@...>
Date: Wednesday, May 7, 2008 - 5:25 pm

Hi Jean,


 I can do that and I have considered it while preparing the change.  What
convinced me not to use a name that is already present elsewhere in the
tree is the confusion that it sometimes causes.  For example during a
debugging session GDB only reports the file name and not the leading
pathname (and some people do run GDB over the kernel).  Of course the
actual file can still be chased with some `find' and `grep' scriptery, but
why to create a problem in the first place?

 I consider repeated file names throughout a tree of a single program a 
namespace pollution similar to one with repeated static symbol names.  
While syntactically valid and working, it asks for unnecessary confusion.

 This is my point of view, but I can see others may not necessarily follow
it.  I am fine with changing the name to i2c.c as it is unlikely I will
run GDB over it. ;-)

  Maciej
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Tue May 6, 8:40 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Geert Uytterhoeven, (Wed May 7, 3:37 am)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Wed May 7, 5:25 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Fri May 9, 3:36 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Wed May 7, 5:13 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Thu May 8, 7:10 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Fri May 9, 4:27 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Fri May 9, 9:43 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Thu May 8, 6:43 pm)
speck-geostationary