login
Header Space

 
 

RE: Xilinx: hwicap driver comments

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jiri Slaby <jirislaby@...>, Grant Likely <grant.likely@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Andrew Morton <akpm@...>
Date: Thursday, February 7, 2008 - 6:31 pm

> -----Original Message-----
upstream
rule some
device into
the sem)

Hmm..  hadn't realized that.  I'm open to suggestions on how to do this
better.  The real reason why the synchronization is there is to make
sure that only one client is using the device at a time, using the
is_open flag.


What is preferred?

a bug,
record\n");

easily fixed.


The physical device only generates/accepts complete words, the intention
is to account for the possibility that a read does not read complete
words, and to fulfill the read whenever possible.
It's arguable that read() and write() should not accept or return
partial words, I suppose

bytes_to_read);

no idea.  even if it is, it's unlikely that the of_driver probing is
protected by the same lock as the platform_driver probing.


I thought I had been.... hmm... looks like a few other things to fix
there, too.

Steve


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

Messages in current thread:
Xilinx: hwicap driver comments, Jiri Slaby, (Thu Feb 7, 4:08 pm)
RE: Xilinx: hwicap driver comments, Stephen Neuendorffer, (Fri Feb 8, 1:08 pm)
[PATCH] [POWERPC] Xilinx: hwicap driver, Stephen Neuendorffer, (Thu Feb 7, 10:17 pm)
Re: [PATCH] [POWERPC] Xilinx: hwicap driver, Randy Dunlap, (Fri Feb 8, 12:49 pm)
Re: [PATCH] [POWERPC] Xilinx: hwicap driver, Jiri Slaby, (Fri Feb 8, 5:10 am)
RE: Xilinx: hwicap driver comments, Stephen Neuendorffer, (Thu Feb 7, 6:31 pm)
Re: Xilinx: hwicap driver comments, Jiri Slaby, (Thu Feb 7, 6:39 pm)
Re: Xilinx: hwicap driver comments, Benjamin Herrenschmidt, (Thu Feb 7, 5:17 pm)
Re: Xilinx: hwicap driver comments, Jiri Slaby, (Thu Feb 7, 5:28 pm)
Re: Xilinx: hwicap driver comments, Benjamin Herrenschmidt, (Thu Feb 7, 5:33 pm)
Re: Xilinx: hwicap driver comments, Grant Likely, (Thu Feb 7, 5:35 pm)
Re: Xilinx: hwicap driver comments, Andrew Morton, (Thu Feb 7, 4:42 pm)
Re: Xilinx: hwicap driver comments, Josh Boyer, (Thu Feb 7, 5:35 pm)
Re: Xilinx: hwicap driver comments, Andrew Morton, (Thu Feb 7, 6:11 pm)
Re: Xilinx: hwicap driver comments, Josh Boyer, (Thu Feb 7, 6:58 pm)
Re: Xilinx: hwicap driver comments, Grant Likely, (Thu Feb 7, 4:54 pm)
Re: Xilinx: hwicap driver comments, Benjamin Herrenschmidt, (Thu Feb 7, 5:25 pm)
Re: Xilinx: hwicap driver comments, Andrew Morton, (Thu Feb 7, 5:21 pm)
Re: Xilinx: hwicap driver comments, Linus Torvalds, (Thu Feb 7, 5:40 pm)
Re: Xilinx: hwicap driver comments, Grant Likely, (Thu Feb 7, 5:31 pm)
RE: Xilinx: hwicap driver comments, Stephen Neuendorffer, (Thu Feb 7, 5:35 pm)
Re: Xilinx: hwicap driver comments, Andrew Morton, (Thu Feb 7, 5:53 pm)
RE: Xilinx: hwicap driver comments, Stephen Neuendorffer, (Thu Feb 7, 6:00 pm)
Re: Xilinx: hwicap driver comments, Grant Likely, (Thu Feb 7, 4:34 pm)
RE: Xilinx: hwicap driver comments, Stephen Neuendorffer, (Thu Feb 7, 5:10 pm)
speck-geostationary