RE: [PATCH 6/7] PCI: Make sure VF's driver get attached after PF's

2013-05-14 Thread Yan Burman
> -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 >

Re: [Hdaps-devel] [PATCH 2.6.23-rc2] hwmon: HP Mobile Data Protection System 3D ACPI driver (resend)

2007-09-10 Thread Yan Burman
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

Re: [Hdaps-devel] [PATCH 2.6.23-rc2] hwmon: HP Mobile Data Protection System 3D ACPI driver (resend)

2007-08-30 Thread Yan Burman
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

Re: [PATCH 2.6.23-rc2] hwmon: HP Mobile Data Protection System 3D ACPI driver (resend)

2007-08-29 Thread Yan Burman
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

Re: [PATCH 2.6.23-rc2] hwmon: HP Mobile Data Protection System 3D ACPI driver (resend)

2007-08-25 Thread Yan Burman
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

[PATCH 2.6.23-rc2] hwmon: HP Mobile Data Protection System 3D ACPI driver (resend)

2007-08-11 Thread Yan Burman
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

Re: [PATCH 2.6.21-rc4] hwmon: HP Mobile Data Protection System 3D ACPI driver

2007-03-24 Thread Yan Burman
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

Re: [PATCH 2.6.21-rc4] hwmon: HP Mobile Data Protection System 3D ACPI driver

2007-03-23 Thread Yan Burman
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

[PATCH 2.6.21-rc4] hwmon: HP Mobile Data Protection System 3D ACPI driver

2007-03-23 Thread Yan Burman
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-

[PATCH 2.6.19] e1000: replace kmalloc+memset with kcalloc and indent the way it is done in other parts of e1000

2006-12-12 Thread Yan Burman
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

[PATCH 2.6.19] ppp: replace kmalloc+memset with kzalloc

2006-12-12 Thread Yan Burman
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 +++

[PATCH 2.6.19] tg3: replace kmalloc+memset with kzalloc

2006-12-12 Thread Yan Burman
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

[PATCH 2.6.19] e1000: Replace kmalloc+memset with kcalloc + remove now unused size variable

2006-12-12 Thread Yan Burman
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-

[PATCH 2.6.19] ep93xx: Some minor cleanups to the ep93xx eth driver

2006-12-12 Thread Yan Burman
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

[PATCH 2.6.19] e100: replace kmalloc with kcalloc

2006-12-12 Thread Yan Burman
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

[PATCH 2.6.19] e1000: replace kmalloc with kzalloc

2006-12-12 Thread Yan Burman
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

[PATCH 2.6.19] hostap: replace kmalloc+memset with kzalloc

2006-12-02 Thread Yan Burman
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

[PATCH 2.6.19] ipw2200: replace kmalloc+memset with kcalloc

2006-12-02 Thread Yan Burman
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

[PATCH 2.6.19] prism54: replace kmalloc+memset with kzalloc

2006-12-02 Thread Yan Burman
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

[PATCH 2.6.19] m68k: replace kmalloc+memset with kzalloc

2006-12-02 Thread Yan Burman
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 +++

[PATCH 2.6.19] arm26: replace kmalloc+memset with kzalloc

2006-12-02 Thread Yan Burman
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 +++

[PATCH 2.6.19] powerpc: replace kmalloc+memset with kzalloc

2006-12-02 Thread Yan Burman
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 +++

[PATCH 2.6.19] jffs: replace kmalloc+memset with kzalloc

2006-12-02 Thread Yan Burman
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

[PATCH 2.6.19] ext[2-4]: replace kmalloc+memset with kzalloc

2006-12-02 Thread Yan Burman
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

[PATCH 2.6.19] nfsd: replace kmalloc+memset with kcalloc + simplify NULL check

2006-12-02 Thread Yan Burman
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

[PATCH 2.6.19] ia64: replace kmalloc+memset with kzalloc

2006-12-02 Thread Yan Burman
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

[PATCH 2.6.19] jffs2: replace kmalloc+memset with kzalloc

2006-12-02 Thread Yan Burman
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

[PATCH 2.6.19] affs: replace kmalloc+memset with kzalloc

2006-12-02 Thread Yan Burman
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