Re: Xilinx: hwicap driver comments

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Slaby
Date: Thursday, February 7, 2008 - 3:39 pm

On 02/07/2008 11:31 PM, Stephen Neuendorffer wrote:

just mutex_lock(); that need not be interrupted.


device_create(); and pass the struct device as a parent when you are at it. 
Otherwise it will be in /sys/*/virtual/* I suppose.


OK, but why are you copying anything to buffer which you free 2 lines below?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

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