EUROMILLION AWARD

2016-06-13 Thread Mr Anthonio Fernandez
Attn: Lucky Winner, FINAL AWARD NOTIFICATIONS!!! This is to inform you on the release of the EUROMILLONES LOTTERY PROGRAM held on the 9th of June 2016. Due to mix up of some num

[PATCH 0/7] *** staging: wilc1000: Replace semaphores with mutexes or completions ***

2016-06-13 Thread Binoy Jayan
Hi, These are a set of patches which removes semaphores from: drivers/staging/wilc1000 These are part of a bigger effort to eliminate all semaphores from the linux kernel. They build correctly (individually and as a whole). NB: The changes are untested Thanks, Binoy Binoy Jayan (7): stagin

[PATCH 2/7] staging: wilc1000: Replace semaphore txq_add_to_head_cs with mutex

2016-06-13 Thread Binoy Jayan
The semaphore 'txq_add_to_head_cs' is a simple mutex, so it should be written as one. Semaphores are going away in the future. Also, removing the timeout scenario as the error handling code does not propagate the timeout properly. Signed-off-by: Binoy Jayan --- drivers/staging/wilc1000/linux_wla

[PATCH 6/7] staging: wilc1000: message_queue: Replace semaphore sem with completion

2016-06-13 Thread Binoy Jayan
The semaphore 'sem' is used as completion, so convert it to a struct completion type. Signed-off-by: Binoy Jayan --- drivers/staging/wilc1000/wilc_msgqueue.c | 13 +++-- drivers/staging/wilc1000/wilc_msgqueue.h | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/dri

[PATCH 3/7] staging: wilc1000: Replace semaphore cfg_event with completion

2016-06-13 Thread Binoy Jayan
The semaphore 'cfg_event' is used as completion, so convert it to a struct completion type. Signed-off-by: Binoy Jayan --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 16 +---

[PATCH 1/7] staging: wilc1000: Replace semaphore txq_event with completion

2016-06-13 Thread Binoy Jayan
The semaphore 'txq_event' is used as completion, so convert it to a struct completion type. Signed-off-by: Binoy Jayan --- drivers/staging/wilc1000/linux_wlan.c | 8 drivers/staging/wilc1000/wilc_wfi_netdevice.h | 3 ++- drivers/staging/wilc1000/wilc_wlan.c | 8 +---

[PATCH 4/7] staging: wilc1000: Replace semaphore sync_event with completion

2016-06-13 Thread Binoy Jayan
The semaphore 'sync_event' is used as completion, so convert it to a struct completion type. Also, return -ETIME if the return value of wait_for_completion_timeout is 0. Signed-off-by: Binoy Jayan --- drivers/staging/wilc1000/linux_wlan.c | 10 +- drivers/staging/wilc1000/wilc_wf

[PATCH 5/7] staging: wilc1000: Replace semaphore close_exit_sync with completion

2016-06-13 Thread Binoy Jayan
The semaphore 'close_exit_sync' is used as completion, so convert it to a struct completion type. Signed-off-by: Binoy Jayan --- drivers/staging/wilc1000/linux_wlan.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/sta

[PATCH 7/7] staging: wilc1000: Remove unused inclusion of semaphore header

2016-06-13 Thread Binoy Jayan
Remove unused inclusions of semaphore header and remove the same from the todo list. Also remove the now unused wrapper 'wilc_lock_timeout'. Semaphores are going away in the future. Signed-off-by: Binoy Jayan --- drivers/staging/wilc1000/TODO | 1 - drivers/staging/wilc1000/linu

Re: [PATCH 2/7] staging: wilc1000: Replace semaphore txq_add_to_head_cs with mutex

2016-06-13 Thread Arnd Bergmann
On Monday, June 13, 2016 4:07:34 PM CEST Binoy Jayan wrote: > The semaphore 'txq_add_to_head_cs' is a simple mutex, so it should be > written as one. Semaphores are going away in the future. Looks good to me. > Also, removing > the timeout scenario as the error handling code does not propagate th

Re: [PATCH 5/7] staging: wilc1000: Replace semaphore close_exit_sync with completion

2016-06-13 Thread Arnd Bergmann
On Monday, June 13, 2016 4:07:37 PM CEST Binoy Jayan wrote: > @@ -31,7 +31,7 @@ static struct notifier_block g_dev_notifier = { > > .notifier_call = dev_state_ev_handler > > }; > > -static struct semaphore close_exit_sync; > +static struct completion close_exit_sync; > > static int w

Re: [PATCH 6/7] staging: wilc1000: message_queue: Replace semaphore sem with completion

2016-06-13 Thread Arnd Bergmann
On Monday, June 13, 2016 4:07:38 PM CEST Binoy Jayan wrote: > The semaphore 'sem' is used as completion, so convert it to a > struct completion type. > > Signed-off-by: Binoy Jayan This does not really look like a classic completion, instead I'd classify this as a counting semaphore. > --- > d

Re: [PATCH 3/7] staging: wilc1000: Replace semaphore cfg_event with completion

2016-06-13 Thread Arnd Bergmann
On Monday, June 13, 2016 4:07:35 PM CEST Binoy Jayan wrote: > The semaphore 'cfg_event' is used as completion, so convert > it to a struct completion type. > > Signed-off-by: Binoy Jayan The change looks good, but > netdev_dbg(vif->ndev, "Set Timed Out\n"); >

[PATCH 2/3] staging: most: dim2-hdm: add configuration for fcnt

2016-06-13 Thread Christian Gromm
This patch adds possibility to configure the DIM2-IP parameter representing the number of frames per sub-buffer for synchronous channels. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-dim2/dim2_hal.c | 34 +--- drivers/sta

[PATCH 3/3] staging: most: dim2-hdm: fix possible kernel freeze when reusing a dim2 channel

2016-06-13 Thread Christian Gromm
If a DIM2 channel is being closed while it is busy, the channels's status flag could possibly stay active for this very channel. This causes the kernel to freeze by the time the channel is opened again. This patch fixes the problem. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm

Re: [PATCH 0/7] *** staging: wilc1000: Replace semaphores with mutexes or completions ***

2016-06-13 Thread Arnd Bergmann
On Monday, June 13, 2016 4:07:32 PM CEST Binoy Jayan wrote: > Hi, > > These are a set of patches which removes semaphores from: > > drivers/staging/wilc1000 > > These are part of a bigger effort to eliminate all semaphores > from the linux kernel. > > They build correctly (individually and as a

[PATCH] staging: gdm724x: Replace semaphore netlink with mutex

2016-06-13 Thread Binoy Jayan
Replace semaphore netlink_mutex with mutex. Semaphores are going away in the future. Signed-off-by: Binoy Jayan --- drivers/staging/gdm724x/netlink_k.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/staging/gdm724x/netlink_k.c b/drivers/staging/gdm724x

[PATCH 0/3] staging: most: fix dim2 issues

2016-06-13 Thread Christian Gromm
This patch set is needed to fix issues of the DIM2 module. Andrey Shvetsov (3): staging: most: dim2-hdm: fix race condition when closing a channel staging: most: dim2-hdm: add configuration for fcnt staging: most: dim2-hdm: fix possible kernel freeze when reusing a dim2 channel drivers

[PATCH 1/3] staging: most: dim2-hdm: fix race condition when closing a channel

2016-06-13 Thread Christian Gromm
This patch fixes race between the function poison_channel that clears the state is_initialized and the tasklet function dim2_tasklet_fn that checks the state is_initialized. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm --- drivers/staging/most/hdm-dim2/dim2_hdm.c | 2 ++ 1 file

Re: [PATCH 0/7] *** staging: wilc1000: Replace semaphores with mutexes or completions ***

2016-06-13 Thread Binoy Jayan
On 13 June 2016 at 19:59, Arnd Bergmann wrote: > On Monday, June 13, 2016 4:07:32 PM CEST Binoy Jayan wrote: >> Hi, >> >> These are a set of patches which removes semaphores from: >> >> drivers/staging/wilc1000 >> >> These are part of a bigger effort to eliminate all semaphores >> from the linux k

Re: [PATCH] staging: gdm724x: Replace semaphore netlink with mutex

2016-06-13 Thread Arnd Bergmann
On Monday, June 13, 2016 7:59:20 PM CEST Binoy Jayan wrote: > > -#if defined(DEFINE_MUTEX) > -static DEFINE_MUTEX(netlink_mutex); > -#else > -static struct semaphore netlink_mutex; > -#define mutex_lock(x) down(x) > -#define mutex_unlock(x)up(x) > -#endif > +static struct

INFORMATION OF AWARD

2016-06-13 Thread Mr Anthonio Fernandez
Attn: Lucky Winner, FINAL AWARD NOTIFICATIONS!!! This is to inform you on the release of the EUROMILLONES LOTTERY PROGRAM held on the 10th of June 2016. Due to mix up of some nu

[PATCH] lustre: hide call to Posix ACL in ifdef

2016-06-13 Thread Arnd Bergmann
A call to forget_cached_acl() was recently added to the lustre file system, but this is only available when CONFIG_FS_POSIX_ACL is enabled, otherwise the build now fails with: lustre/llite/file.c: In function 'll_get_acl': lustre/llite/file.c:3134:2: error: implicit declaration of function 'forge

[PATCH v2 1/1] Staging: comedi: dmm32at: fix BIT macro issue.

2016-06-13 Thread Ravishankar Karkala Mallikarjunayya
This Replace all occurences of (1< --- Changes V1 -> V2: - BIT macros added(suggested by Ian Abbott) -i.e.DMM32AT_AI_CFG_SCINT(x), DMM32AT_CTRL_PAGE(x) --- drivers/staging/comedi/drivers/dmm32at.c | 98 1 file changed, 50 insertions(+), 48 deletions