[PATCH] kdb: use kstrto instead of simple_strto

2015-05-31 Thread Filip Ayazi
Replace obsolete simple_strto* calls with appropriate kstrto* functions. Signed-off-by: Filip Ayazi --- kernel/debug/kdb/kdb_main.c | 53 +++-- 1 file changed, 17 insertions(+), 36 deletions(-) diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb

Re: [PATCH] kdb: use kstrto instead of simple_strto

2015-05-31 Thread Filip Ayazi
On 05/31/2015 02:29 PM, Alexey Dobriyan wrote: Replace obsolete simple_strto* calls with appropriate kstrto* functions. static int kdb_kill(int argc, const char **argv) { long sig, pid; - char *endp; struct task_struct *p; struct siginfo info; if (argc !

[PATCH v2] kdb: use kstrto* instead of simple_strto

2015-05-31 Thread Filip Ayazi
Replace simple_strto with appropriate kstrto functions as recommended by checkpatch, change pid, sig types to unsigned int, int respectively. Signed-off-by: Filip Ayazi --- kernel/debug/kdb/kdb_main.c | 56 +++-- 1 file changed, 19 insertions(+), 37

Re: [PATCH v2] kdb: use kstrto* instead of simple_strto

2015-06-01 Thread Filip Ayazi
On 06/01/2015 11:28 AM, Daniel Thompson wrote: > On 31/05/15 18:59, Filip Ayazi wrote: >> Replace simple_strto with appropriate kstrto functions as recommended >> by checkpatch, change pid, sig types to unsigned int, int respectively. > > A changelog describing the changes ar

[PATCH v3] kdb: use kstrto* instead of simple_strto

2015-06-01 Thread Filip Ayazi
Replace simple_strto with appropriate kstrto functions as recommended by checkpatch, removing no longer required variables. Change pid, sig types from long to pid_t, int respectively. Signed-off-by: Filip Ayazi Reviewed-by: Daniel Thompson --- changes from v2: store kstrto return value in a

[PATCH] input: synaptics: min_max quirk for Thinkpad E440

2015-03-24 Thread Filip Ayazi
Sets min_max_quirk values for LEN2006 touchpad found in Lenovo Thinkpad E440 (board_id=2691). Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=89641 Signed-off-by: Filip Ayazi --- drivers/input/mouse/synaptics.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/input/mouse

Re: [PATCH] input: synaptics: min_max quirk for Thinkpad E440

2015-03-25 Thread Filip Ayazi
On 03/25/2015 06:22 PM, Dmitry Torokhov wrote: On Wed, Mar 25, 2015 at 09:57:51AM -0300, Ramiro Morales wrote: On Wed, Mar 25, 2015 at 6:04 AM, Daniel Martin wrote: On 25 March 2015 at 02:20, Filip Ayazi wrote: Sets min_max_quirk values for LEN2006 touchpad found in Lenovo Thinkpad E440

[PATCH] input: synaptics: fix min-max quirk value for E440

2015-03-25 Thread Filip Ayazi
Commit 98dc070373 ("Input: synaptics - add quirk for Thinkpad E440") had a typo in ymax, this changes the value to the one reported by touchpad-edge-detector and mentioned in the commit. Signed-off-by: Filip Ayazi --- drivers/input/mouse/synaptics.c | 2 +- 1 file changed, 1 inser

[PATCH] iwlwifi: mvm: check time event is over before disconnecting

2015-02-27 Thread Filip Ayazi
On the 7260 time event was often ended before end_time and connections failed with "No association and the time event is over already...". This checks that the time event is actually over before disconnecting. Signed-off-by: Filip Ayazi --- drivers/net/wireless/iwlwifi/mvm/time-e

Re: [PATCH] iwlwifi: mvm: check time event is over before disconnecting

2015-02-28 Thread Filip Ayazi
On 02/28/2015 08:55 PM, Emmanuel Grumbach wrote: On Sat, Feb 28, 2015 at 1:10 AM, Filip Ayazi wrote: On the 7260 time event was often ended before end_time and connections failed with "No association and the time event is over already...". This checks that the time event is act