> -Original Message-
> From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org]
> On Behalf Of Yinghai Lu
> Sent: Tuesday, May 14, 2013 05:31
> To: Bjorn Helgaas
> Cc: Gu Zheng; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Yinghai
> Lu; net...@vger.kernel.org
>
Henrique de Moraes Holschuh wrote:
On Sat, 25 Aug 2007, Yan Burman wrote:
Aha, /sys. Could we simply power off the device when its input device
is not opened?
No, we can't since the sys interface provides the position info and some
applications (hdaps apps for example) use
Shem Multinymous wrote:
On 8/29/07, Henrique de Moraes Holschuh <[EMAIL PROTECTED]> wrote:
On Wed, 29 Aug 2007, Yan Burman wrote:
HDAPS with input device support is quite new. hdapsd was patched to talk to
it, too. I suppose we should port the input device support to the
neverball work with
this driver unmodified.
Changes:
Fixed all checkpatch warnings/errors
Fixed a potential race in getting the coordinates
Fixed TASK_INTERRUPTIBLE handling
Fixed documentation to state that nw9440 is also supported (it was reported to
work)
Signed-off-by: Yan Burman <[EMAIL PROTEC
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/fs/affs/bitmap.c
linux-2.6.19-rc5_kzalloc/fs/affs/bitmap.c
--- linux-2.6.19-rc5_orig/fs/affs/bitmap.c 2006-11-09 12:16:20.0
+0200
+++ linux-2.6.19-rc5_kzal
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/fs/jffs2/fs.c
linux-2.6.19-rc5_kzalloc/fs/jffs2/fs.c
--- linux-2.6.19-rc5_orig/fs/jffs2/fs.c 2006-11-09 12:16:20.0 +0200
+++ linux-2.6.19-rc5_kzalloc/fs/jffs
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/arch/ia64/hp/common/sba_iommu.c
linux-2.6.19-rc5_kzalloc/arch/ia64/hp/common/sba_iommu.c
--- linux-2.6.19-rc5_orig/arch/ia64/hp/common/sba_iommu.c 2006-11-09
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/fs/ext2/super.c
linux-2.6.19-rc5_kzalloc/fs/ext2/super.c
--- linux-2.6.19-rc5_orig/fs/ext2/super.c 2006-11-09 12:16:20.0
+0200
+++ linux-2.6.19-rc5_kzalloc/f
Replace kmalloc+memset with kcalloc and simplify
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rup linux-2.6.19-rc6_orig/fs/nfsd/nfscache.c
linux-2.6.19-rc6/fs/nfsd/nfscache.c
--- linux-2.6.19-rc6_orig/fs/nfsd/nfscache.c2006-11-22 20:29:19.0
+0200
+++ linux-2.6.19-rc6/f
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/fs/jffs/intrep.c
linux-2.6.19-rc5_kzalloc/fs/jffs/intrep.c
--- linux-2.6.19-rc5_orig/fs/jffs/intrep.c 2006-11-09 12:16:20.0
+0200
+++ linux-2.6.19-rc5_kzalloc/f
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc6_orig/arch/powerpc/kernel/ibmebus.c
linux-2.6.19-rc6/arch/powerpc/kernel/ibmebus.c
--- linux-2.6.19-rc6_orig/arch/powerpc/kernel/ibmebus.c 2006-11-22
20:30:04.0 +0200
+++
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/arch/arm26/kernel/ecard.c
linux-2.6.19-rc5_kzalloc/arch/arm26/kernel/ecard.c
--- linux-2.6.19-rc5_orig/arch/arm26/kernel/ecard.c 2006-11-09
12:16:22.0 +0200
+++
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/arch/m68k/amiga/chipram.c
linux-2.6.19-rc5_kzalloc/arch/m68k/amiga/chipram.c
--- linux-2.6.19-rc5_orig/arch/m68k/amiga/chipram.c 2006-11-09
12:16:21.0 +0200
+++
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/drivers/net/wireless/prism54/isl_ioctl.c
linux-2.6.19-rc5_kzalloc/drivers/net/wireless/prism54/isl_ioctl.c
--- linux-2.6.19-rc5_orig/drivers/net/wireless/prism54/isl_i
Replace kmalloc+memset with kcalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/drivers/net/wireless/ipw2200.c
linux-2.6.19-rc5_kzalloc/drivers/net/wireless/ipw2200.c
--- linux-2.6.19-rc5_orig/drivers/net/wireless/ipw2200.c2006-11-09
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc6_orig/drivers/net/wireless/hostap/hostap_ap.c
linux-2.6.19-rc6/drivers/net/wireless/hostap/hostap_ap.c
--- linux-2.6.19-rc6_orig/drivers/net/wireless/hostap/hostap_ap.c
2006
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/drivers/net/e1000/e1000_ethtool.c
linux-2.6.19-rc5_kzalloc/drivers/net/e1000/e1000_ethtool.c
--- linux-2.6.19-rc5_orig/drivers/net/e1000/e1000_ethtool.c 2006-11-09
Replace kmalloc+memset with kcalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/drivers/net/e100.c
linux-2.6.19-rc5_kzalloc/drivers/net/e100.c
--- linux-2.6.19-rc5_orig/drivers/net/e100.c2006-11-09 12:16:21.0
+0200
+++ linux-2.6.19-rc5_k
Small cleanup in the Cirrus Logic EP93xx ethernet driver:
Check for NULL pointer before dereferencing it instead of after.
Remove unreferenced variable.
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
--- linux-2.6.19_orig/drivers/net/arm/ep93xx_eth.c 2006-11-30
21:28:21.0
Replace kmalloc+memset with kcalloc and remove unused size variable
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19_orig/drivers/net/e1000/e1000_ethtool.c
linux-2.6.19/drivers/net/e1000/e1000_ethtool.c
--- linux-2.6.19_orig/drivers/net/e1000/e1000_ethtool.c 2006-11-
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/drivers/net/tg3.c
linux-2.6.19-rc5_kzalloc/drivers/net/tg3.c
--- linux-2.6.19-rc5_orig/drivers/net/tg3.c 2006-11-09 12:16:21.0
+0200
+++ linux-2.6.19-rc5_k
Replace kmalloc+memset with kzalloc
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19-rc5_orig/drivers/net/ppp_async.c
linux-2.6.19-rc5_kzalloc/drivers/net/ppp_async.c
--- linux-2.6.19-rc5_orig/drivers/net/ppp_async.c 2006-11-09
12:16:21.0 +0200
+++
Replace kmalloc+memset with kcalloc + remove now unused size variable
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -rubp linux-2.6.19_orig/drivers/net/e1000/e1000_ethtool.c
linux-2.6.19_tests/drivers/net/e1000/e1000_ethtool.c
--- linux-2.6.19_orig/drivers/net/e1000/e1000_ethtool.c 2
neverball work with
this driver unmodified.
Signed-off-by: Yan Burman <[EMAIL PROTECTED]>
diff -Nrubp linux-2.6.21-rc4_orig/Documentation/hwmon/mdps
linux-2.6.21-rc4/Documentation/hwmon/mdps
--- linux-2.6.21-rc4_orig/Documentation/hwmon/mdps 1970-01-01
02:00:00.0 +0200
+++ linux-
Dmitry Torokhov wrote:
Hi Yan,
On 3/23/07, Yan Burman <[EMAIL PROTECTED]> wrote:
+
+static unsigned int input_3d;
+module_param(input_3d, bool, S_IRUGO);
+MODULE_PARM_DESC(input_3d, "Operate as a 3D joystick instead of 2D");
Why do you need that? Just have the driver alw
Arjan van de Ven wrote:
Hi,
your code looks very nice and clean, only few comments, see below
Thanks
+static int mdps_joystick_kthread(void *data)
+{
+ int x = 0, y = 0, z = 0;
+
+ while (!kthread_should_stop()) {
+ if (input_3d) {
+ mdps_g
Henrique de Moraes Holschuh wrote:
On Thu, 30 Aug 2007, Yan Burman wrote:
You can generate events on input devices, but I am not sure that's the
best way to go about it for this. Things that block on read until an
interrupt happens might work better.
You can do the latte
Pavel Machek wrote:
On Sat 2007-08-11 14:26:02, Yan Burman wrote:
HP Mobile Data Protection System 3D ACPI driver. Similar to hdaps in
functionality.
This driver provides 4 kinds of functionality:
1) Creates a misc device /dev/accel that acts similar to /dev/rtc and unblocks
the process
28 matches
Mail list logo