[PATCH] staging: iio: generic_buffer: initialize ret

2013-10-07 Thread Sebastian Andrzej Siewior
The `ret´ variable is only initialized in the error case. For some reason it was always != 0 while I played with generic_buffer so here is a patch. Signed-off-by: Sebastian Andrzej Siewior --- drivers/staging/iio/Documentation/iio_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

notificación de e-mail

2013-10-07 Thread Web de administración
Web de administración de notificación de e-mail Este mensaje es de nuestro centro de mensajes de administración para toda nuestra cuenta de correo electrónico owners.We está eliminando el acceso a todos nuestros clientes de correo web. Su correo electrónico cuenta se actualizará a una interfaz

[PATCH v2] staging: comedi: avoid memleak for subdevice private

2013-10-07 Thread Ian Abbott
`comedi_alloc_spriv()` allocates private storage for a comedi subdevice and sets the `SRF_FREE_SPRIV` flag in the `runflags` member of the subdevice to allow the private storage to be automatically freed when the comedi device is being cleaned up. Unfortunately, the flag gets clobbered by `do_cmd_

[PATCH 1/2] staging: comedi: remove unused 'channel flags' support

2013-10-07 Thread Ian Abbott
The `flags` and `flaglist` members of `struct comedi_subdevice` were defined to supply "all-channel" flags via the `COMEDI_SUBDINFO` ioctl, or "channel-specific" flags via the `COMEDI_CHANINFO` ioctls, respectively. However, no comedi driver has ever set them. It's not entirely clear how "all-cha

[PATCH 0/2] staging: comedi: remove some unused stuff

2013-10-07 Thread Ian Abbott
Remove some unused bits of comedi. 1) staging: comedi: remove unused 'channel flags' support 2) staging: comedi: remove 'settling_time_0' from subdevice drivers/staging/comedi/comedi_fops.c | 14 ++ drivers/staging/comedi/comedidev.h | 5 - 2 files changed, 2 insertions(+), 17

[PATCH 2/2] staging: comedi: remove 'settling_time_0' from subdevice

2013-10-07 Thread Ian Abbott
The `settling_time_0` member of `struct comedi_subdevice` can be set by a low-level comedi driver and will be copied to user-space as part of the information provided by the `COMEDI_SUBDINFO` ioctl. No comedi driver has ever set it; it's just been left at its initial value of 0. Remove it to save

[PATCH] staging: comedi: dt9812: remove ifdefed out enums

2013-10-07 Thread Ian Abbott
Remove the #if'd out DT9812_DEVID_... enumerated constants and line up the comments for the others. Signed-off-by: Ian Abbott --- drivers/staging/comedi/drivers/dt9812.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/staging/comedi/drivers/dt9812.c b/driv

RE: [PATCH 1/2] hyperv-fb: add pci stub

2013-10-07 Thread KY Srinivasan
> -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Sunday, October 06, 2013 11:51 PM > To: KY Srinivasan > Cc: Haiyang Zhang; Jean-Christophe Plagniol-Villard; Tomi Valkeinen; open > list:Hyper-V CORE AND...; open list:FRAMEBUFFER LAYER; open list > Subject: Re:

Re: A review of dm-writeboost

2013-10-07 Thread Mikulas Patocka
On Sun, 6 Oct 2013, Akira Hayakawa wrote: > Mikulas, > > Thank you for your reviewing. > > I will reply to polling issue first. > For the rest, I will reply later. > > > Polling for state > > - > > > > Some of the kernel threads that you spawn poll for data in one-second > >

Re: [dm-devel] Reworking dm-writeboost [was: Re: staging: Add dm-writeboost]

2013-10-07 Thread Dave Chinner
On Sat, Oct 05, 2013 at 04:51:16PM +0900, Akira Hayakawa wrote: > Dave, > > > That's where arbitrary delays in the storage stack below XFS cause > > problems - if the first FUA log write is delayed, the next log > > buffer will get filled, issued and delayed, and when we run out of > > log buffers

Re: [PATCH v2] staging: comedi: avoid memleak for subdevice private

2013-10-07 Thread Greg Kroah-Hartman
On Mon, Oct 07, 2013 at 03:51:58PM +0100, Ian Abbott wrote: > `comedi_alloc_spriv()` allocates private storage for a comedi subdevice > and sets the `SRF_FREE_SPRIV` flag in the `runflags` member of the > subdevice to allow the private storage to be automatically freed when > the comedi device is b