Re: [PATCH 1/2] Add c2 port support.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Wednesday, October 22, 2008 - 11:11 am

On Wed, 22 Oct 2008 10:40:04 -0700 Greg KH <greg@kroah.com> wrote:


No opinion yet - I haven't review them.

<looks>

<wonders why c2port_idr_lock and c2port_idr are kernel-wide symbols>

<wonders what local_irq_disable() is supposed to achieve on SMP>

<spots an error-path memory leak in c2port_device_register>

<spots a stray semicolon in c2port_device_register>

<suggests that update_lock be initialised at compile-time, not at runtime>


What I haven't yet got my head around is this:

  Currently this code supports only flash programming through sysfs
  interface but extensions shoud be easy to add.

is that really what we want to use sysfs for?  As the prime interface
to a device driver (or is it a bus driver?) Didn't we used to use
device nodes for that sort of thing?

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

Messages in current thread:
c2port (Version 2): support for Silicon C2 Interface., Rodolfo Giometti, (Wed Oct 22, 6:47 am)
[PATCH 1/2] Add c2 port support., Rodolfo Giometti, (Wed Oct 22, 6:47 am)
Re: [PATCH 1/2] Add c2 port support., Greg KH, (Wed Oct 22, 10:40 am)
Re: [PATCH 1/2] Add c2 port support., Andrew Morton, (Wed Oct 22, 11:11 am)
Re: [PATCH 1/2] Add c2 port support., Rodolfo Giometti, (Wed Oct 22, 12:52 pm)
Re: [PATCH 1/2] Add c2 port support., Andrew Morton, (Wed Oct 22, 1:01 pm)
Re: [PATCH 1/2] Add c2 port support., Rodolfo Giometti, (Wed Oct 22, 1:48 pm)
Re: [PATCH 1/2] Add c2 port support., Andrew Morton, (Wed Oct 22, 1:58 pm)
Re: [PATCH 1/2] Add c2 port support., Greg KH, (Wed Oct 22, 2:03 pm)
Re: [PATCH 1/2] Add c2 port support., Rodolfo Giometti, (Thu Oct 23, 12:39 am)
Re: [PATCH 1/2] Add c2 port support., Greg KH, (Thu Oct 23, 8:37 am)
Re: [PATCH 1/2] Add c2 port support., Rodolfo Giometti, (Mon Oct 27, 1:54 am)
Re: [PATCH 1/2] Add c2 port support., Greg KH, (Mon Oct 27, 9:14 am)