[PATCH] blktrace: fix comment in blktrace_api.h

2018-03-30 Thread Souvik Banerjee
The `__u64 time` field of the blk_io_trace struct refers to the time in nanoseconds, not in microseconds. It is set in __blk_add_trace, which does the following: t->time = ktime_to_ns(ktime_get()); ktime_to_ns returns ktime_t in nanoseconds, not microseconds. Signed-off-by: Souvik Baner

Re: [PATCH] dell-wmi: Add KEY_SWITCHVIDEOMODE for Dell N4110.

2014-01-20 Thread Souvik Banerjee
xe030, { KEY_VOLUMEUP } }, { KE_IGNORE, 0xe033, { KEY_KBDILLUMUP } }, -- 1.8.5.3 On 01/20/2014 10:37 AM, Matthew Garrett wrote: > On Mon, Jan 20, 2014 at 10:31:48AM -0600, Souvik Banerjee wrote: >> I used KE_KEY instead of KE_IGNORE. Should it be changed to KE_IGNORE? >> On my kern

Re: [PATCH] dell-wmi: Add KEY_SWITCHVIDEOMODE for Dell N4110.

2014-01-20 Thread Souvik Banerjee
I used KE_KEY instead of KE_IGNORE. Should it be changed to KE_IGNORE? On my kernel build with KE_KEY everything works as expected, but I have not tried it with KE_IGNORE. -- Souvik Banerjee On 01/20/2014 10:11 AM, Matthew Garrett wrote: > Sorry, I missed the KE_IGNORE somehow. This should

Re: [PATCH] dell-wmi: Add KEY_SWITCHVIDEOMODE for Dell N4110.

2014-01-20 Thread Souvik Banerjee
Forgot to cc the LKML. Original Message Subject: Re: [PATCH] dell-wmi: Add KEY_SWITCHVIDEOMODE for Dell N4110. Date: Mon, 20 Jan 2014 10:05:03 -0600 From: Souvik Banerjee To: Matthew Garrett No, I don't think so. My testing shows that it is now just reported by the key

[PATCH] dell-wmi: Add KEY_SWITCHVIDEOMODE for Dell N4110.

2014-01-20 Thread Souvik Banerjee
From 66440f78e9989d759be4dd550f76179d8df64083 Mon Sep 17 00:00:00 2001 From: Souvik Banerjee Date: Mon, 20 Jan 2014 09:10:29 -0600 Subject: [PATCH] dell-wmi: Add KEY_SWITCHVIDEOMODE for Dell N4110. This key is reported by the keyboard controller but also generates WMI events. By adding it to the

vboxhost fails to build on 3.13

2013-11-28 Thread Souvik Banerjee
When I run `dkms install vboxhost/4.3.2` it fails to build with the following error: - DKMS make.log for vboxhost-4.3.2 for kernel 3.13.0-1git-00096-g711197a-dirty (x86_64) Thu Nov 28 11:54:10 CST 2013 make: En

[PATCH 2/2] dell-wmi.c: Added support for the monitor hotkey present on laptops like the Dell N4110

2013-11-08 Thread Souvik Banerjee
Adds support for the monitor switching hotkey on laptops such as the N4110. Signed-off-by: Souvik Banerjee --- drivers/platform/x86/dell-wmi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index 5adb60a..a880183 100644

[PATCH 1/2] Fixed style issue in dell-wmi.c, changed tabs to 8 spaces.

2013-11-08 Thread Souvik Banerjee
Fixed a coding style issue. Tabs have to be 8 spaces. Signed-off-by: Souvik Banerjee --- drivers/platform/x86/dell-wmi.c | 396 1 file changed, 198 insertions(+), 198 deletions(-) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell

[PATCH 2/2] Added support for the monitor hotkey present on laptops like the Dell N4110

2013-10-19 Thread Souvik Banerjee
Adds support for the monitor switching hotkey on laptops such as the N4110. Signed-off-by: Souvik Banerjee --- drivers/platform/x86/dell-wmi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index 5adb60a..a880183 100644

[PATCH 1/2] Fixed style issue. Changed tabs to 8 spaces with expand(1).

2013-10-19 Thread Souvik Banerjee
Fixed a coding style issue. Tabs have to be 8 spaces. Signed-off-by: Souvik Banerjee --- drivers/platform/x86/dell-wmi.c | 396 1 file changed, 198 insertions(+), 198 deletions(-) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell