[PATCH] Staging: comedi: pcmuio: fix bare use of 'unsigned'

2016-06-21 Thread Ravishankar Karkala Mallikarjunayya
This fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/pcmuio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drive

Re: [PATCH 0/2] staging: comedi: addi_apci_3501: cleanup driver

2016-06-21 Thread Ian Abbott
On 20/06/16 19:12, H Hartley Sweeten wrote: The timer/counter subdevice in this driver is broken and it really doesn't add much use if it did work. Remove the timer/counter support and add the missing comedi driver comment block. H Hartley Sweeten (2): staging: comedi: addi_apci_3501: remove

Re: [PATCH 0/9] staging: comedi: fix comedi driver comment blocks

2016-06-21 Thread Ian Abbott
On 20/06/16 19:39, H Hartley Sweeten wrote: Fix the checkpatch.pl issues with the comment blocks that are used to automatically generate documentation in Comedi and Comedilib. H Hartley Sweeten (9): staging: comedi: das08_cs: fix block comments staging: comedi: ni_670x: fix block comment iss

Re: [PATCH v2 1/3] staging : comedi : s626: fix type issues.

2016-06-21 Thread Ian Abbott
On 21/06/16 07:38, Ravishankar Karkala Mallikarjunayya wrote: This fixes up a type issues like i.e Prefer kernel type 'u8' over 'uint8_t' Prefer kernel type 'u16' over 'uint16_t' Prefer kernel type 'u32' over 'uint32_t' Prefer kernel type 's16' over 'int16_t' Prefer kernel type 's

Re: [PATCH v2 2/3] Staging: comedi: s626: Fix Warning issues.

2016-06-21 Thread Ian Abbott
On 21/06/16 07:38, Ravishankar Karkala Mallikarjunayya wrote: This fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool Signed-off-by: Ravishankar Karkala Mallikarjunayya --- Change log v1->v2 - No Change --- drivers/staging/comedi/drivers

Re: [PATCH v2 3/3] Staging: comedi: s626: fix line over 80 characters issue

2016-06-21 Thread Ian Abbott
On 21/06/16 07:44, Ravishankar Karkala Mallikarjunayya wrote: This fixes up a line over 80 characters issues found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya --- Change log v1->v2 - No Change --- drivers/staging/comedi/drivers/s626.c | 3 ++- 1 file c

Re: [PATCH] Staging: comedi: pcmuio: fix bare use of 'unsigned'

2016-06-21 Thread Ian Abbott
On 21/06/16 11:16, Ravishankar Karkala Mallikarjunayya wrote: This fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/pcmuio.c | 2 +- 1 file changed, 1 insert

[patch] staging: comedi: dt2811: fix a precedence bug

2016-06-21 Thread Dan Carpenter
Bitwise | has higher precedence than ?: so we need to add some parenthesis for this to work as intended. Fixes: 7c9574090d30 ('staging: comedi: dt2811: simplify A/D reference configuration') Signed-off-by: Dan Carpenter diff --git a/drivers/staging/comedi/drivers/dt2811.c b/drivers/staging/com

Re: [patch] staging: comedi: dt2811: fix a precedence bug

2016-06-21 Thread Ian Abbott
On 21/06/16 12:46, Dan Carpenter wrote: Bitwise | has higher precedence than ?: so we need to add some parenthesis for this to work as intended. Fixes: 7c9574090d30 ('staging: comedi: dt2811: simplify A/D reference configuration') Signed-off-by: Dan Carpenter diff --git a/drivers/staging/come

Re: [PATCH v2] staging: esp8089: add new driver

2016-06-21 Thread Greg KH
On Tue, Jun 21, 2016 at 07:35:24AM +0800, Icenowy Zheng wrote: > The driver is only a working port of a badly written driver extracted from an > old and vendor-specified kernel source. > I cannot promise the code style (although I did indent -kr -i8). > I cannot also promise the effect. I don't u

Re: [patch] staging: comedi: dt2811: fix a precedence bug

2016-06-21 Thread walter harms
Am 21.06.2016 15:56, schrieb Ian Abbott: > On 21/06/16 12:46, Dan Carpenter wrote: >> Bitwise | has higher precedence than ?: so we need to add some >> parenthesis for this to work as intended. >> >> Fixes: 7c9574090d30 ('staging: comedi: dt2811: simplify A/D reference >> configuration') >> Signe

Re: [PATCH v2 2/2] staging: wilc1000: Replace kthread with workqueue for host interface

2016-06-21 Thread Arnd Bergmann
On Monday, June 20, 2016 3:40:19 PM CEST Binoy Jayan wrote: > Deconstruct the kthread / message_queue logic, replacing it with > create_singlethread_workqueue() / queue_work() setup, by adding a > 'struct work_struct' to 'struct host_if_msg'. The current kthread > hostIFthread() is converted to a w

Re: [PATCH 3/3] staging: lowmemorykiller: select the task with maximum rss to kill

2016-06-21 Thread David Rientjes
On Tue, 21 Jun 2016, Ganesh Mahendran wrote: > Current task selecting logic in LMK does not fully aware of the memory > pressure. It may select the task with maximum score adj, but with > least tasksize. > > For example, if min_score_adj is 200, and there are 2 tasks in system: >task a: score

[PATCH 1/2] [media] v4l: vsp1: Split pad operations between rpf and wpf

2016-06-21 Thread Niklas Söderlund
This is done in preparation to move s_stream from v4l2_subdev_video_ops to v4l2_subdev_pad_ops. Only wpf implements s_stream so it will no longer be possible to share the v4l2_subdev_pad_ops once s_stream is moved. Suggested-by: Laurent Pinchart Signed-off-by: Niklas Söderlund --- drivers/media

[PATCH 0/2] move s_stream from v4l2_subdev_video_ops to move s_stream from v4l2_subdev_pad_ops

2016-06-21 Thread Niklas Söderlund
Hi all, This series moves s_stream from struct v4l2_subdev_video_ops to struct v4l2_subdev_pad_ops. The reason for this is that there are devices (adv7482 for example) which can support more then one video pipeline connected to two different output pads to run simultaneously. In order to be abl

2016 SPAIN EUROMILLION ONLINE AWARD

2016-06-21 Thread Maria Loronzo Garcia
Attn: Lucky Winner, FINAL AWARD NOTIFICATIONS!!! This is to inform you on the release of the EUROMILLONES LOTTERY PROGRAM held on the 16th of June 2016. Due to mix up of some nu

Re: [PATCH 1/3] staging: lowmemorykiller: change lowmem_adj to lowmem_score_adj

2016-06-21 Thread Ganesh Mahendran
Hi, David: On Tue, Jun 21, 2016 at 01:27:40PM -0700, David Rientjes wrote: > On Tue, 21 Jun 2016, Ganesh Mahendran wrote: > > > om_adj is deprecated, and in lowmemorykiller module, we use score adj > > to do the comparing. > > --- > > oom_score_adj = p->signal->oom_score_adj; > >

Re: [PATCH 2/3] staging: lowmemorykiller: count anon pages only when we have swap devices

2016-06-21 Thread Ganesh Mahendran
Hi, David: On Tue, Jun 21, 2016 at 01:22:00PM -0700, David Rientjes wrote: > On Tue, 21 Jun 2016, Ganesh Mahendran wrote: > > > lowmem_count() should only count anon pages when we have swap device. > > > > Why? I make a mistake. I thought lowmem_count will return the shrinkalbe page of a proce

Re: [PATCH 3/3] staging: lowmemorykiller: select the task with maximum rss to kill

2016-06-21 Thread Ganesh Mahendran
Hi, David: On Tue, Jun 21, 2016 at 01:14:36PM -0700, David Rientjes wrote: > On Tue, 21 Jun 2016, Ganesh Mahendran wrote: > > > Current task selecting logic in LMK does not fully aware of the memory > > pressure. It may select the task with maximum score adj, but with > > least tasksize. > > > >