got the warnings
drivers/staging/csr/sme_wext.c: In function ‘unifi_siwscan’:
drivers/staging/csr/sme_wext.c:1276:9: warning: variable ‘scantype’ set but not
used [-Wunused-but-set-variable]
fixed by removing the variable
Signed-off-by: Devendra Naga
---
drivers/staging/csr/sme_wext.c | 3 ---
于 2013年03月06日 22:23, KY Srinivasan 写道:
-Original Message-
From: vaughan [mailto:vaughan@oracle.com]
Sent: Tuesday, March 05, 2013 9:09 PM
To: KY Srinivasan
Cc: Xitao Cao;devel@linuxdriverproject.org; Haiyang Zhang
Subject: Re: hyperv: is register a mandatory phase by hypervkvpd?
于 20
On Wed, Mar 13, 2013 at 12:19:10PM -0700, H Hartley Sweeten wrote:
> The variable dev->iobase holds the primary iobase address used
> by the comedi drivers. For PCI drivers, this value is found in
> one of the PCI bars of the device.
>
> Currently all comedi PCI drivers set dev->iobase after calli
The following changes since commit 6dbe51c251a327e012439c4772097a13df43c5b8:
Linux 3.9-rc1 (2013-03-03 15:11:05 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/
tags/staging-3.9-rc2
for you to fetch changes up to 564c526a1bed5
On Wed, Mar 13, 2013 at 12:19:20PM -0400, Jacob Garber wrote:
> This is a patch to usbdux.c that fixes the camel case warnings found
> by the checkpatch.pl tool
>
> Signed-off-by: Jacob Garber
> ---
> -static int usbduxsub_submit_InURBs(struct usbduxsub *usbduxsub)
> +static int usbduxsub_submit_
Default the dev->board_name to the dev->driver->driver_name before
calling the comedi driver (*attach) or (*auto_attach). This way
drivers without additional boardinfo do not have to set the
dev->board_name pointer.
This also ensures that dev->board_name is always initialized before
PCI drivers ca
The variable dev->iobase holds the primary iobase address used
by the comedi drivers. For PCI drivers, this value is found in
one of the PCI bars of the device.
Currently all comedi PCI drivers set dev->iobase after calling
comedi_pci_enable(). For PCI devices that use memory mapped i/o
the PCI ba
This driver used to be tied to the addi-data common code which
always saved the start address of pci bars 0, 1, 2, and 3 for
use by the driver. This driver only uses pci bar 2.
Remove all the non-used pci bars and move the saving of pci bar
2 so it occurs right after the pci device is enabled.
Si
Move some of the boilerplate code from the comedi drivers to the comedi core.
H Hartley Sweeten (3):
staging: comedi: addi_apci_1710: only pci bar 2 is used
staging: comedi_pci: set dev->iobase in comedi_pci_enable()
staging: comedi: drivers: set dev->board_name before (*attach)
drivers/st
A cleanup patch to remove sparse warnings caused by my other patch
"procfs: Improve Scaling in proc" since now proc_fops is protected by the rcu.
Signed-off-by: Nathan Zimmer
Cc: Greg Kroah-Hartman
Cc: Bill Pemberton
Cc: de...@driverdev.osuosl.org
Cc: linux-ker...@vger.kernel.org
---
drivers
Make comedi_pci_enable() use the same parameter type as
comedi_pci_disable(). This also allows comedi_pci_enable
to automatically determine the resource name passed to
pci_request_regions().
Make sure the errno value returned is passed on instead of
assuming an errno. Also, remove any kernel noise
Currently all the comedi PCI drivers need to do some checking in
their (*detach) before calling comedi_pci_disable() in order to
make sure the PCI device has actually be enabled.
Change the parameter passed to comedi_pci_disable() from a struct
pci_dev pointer to a comedi_device pointer and have c
Pass the a struct comedi_device pointer to comedi_pci_{enable,disable}
instead of a struct pci_dev pointer.
This allows comedi_pci_disable to handle all the sanity checking before
releasing the resources and disabling the PCI device. It also allows
comedi_pci_enable to automatically determine the
On 13/03/13 16:27, H Hartley Sweeten wrote:
On Wednesday, March 13, 2013 4:10 AM, Ian Abbott wrote:
On 13/03/2013 00:41, H Hartley Sweeten wrote:
--- a/drivers/staging/comedi/comedi_pci.c
+++ b/drivers/staging/comedi/comedi_pci.c
@@ -57,14 +57,16 @@ EXPORT_SYMBOL_GPL(comedi_pci_enable);
/**
> -Original Message-
> From: Olaf Hering [mailto:o...@aepfle.de]
> Sent: Wednesday, March 13, 2013 12:50 PM
> To: KY Srinivasan
> Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org;
> devel@linuxdriverproject.org; a...@canonical.com; jasow...@redhat.com
> Subject: Re: [PATCH RES
On Tue, Mar 12, K. Y. Srinivasan wrote:
> Implement the memory hot-add functionality. With this, Linux guests can fully
> participate in the Dynamic Memory protocol implemented in the Windows hosts.
> +++ b/drivers/hv/Kconfig
> @@ -15,7 +15,7 @@ config HYPERV_UTILS
>
> config HYPERV_BALLOON
>
On Wednesday, March 13, 2013 4:10 AM, Ian Abbott wrote:
> On 13/03/2013 00:41, H Hartley Sweeten wrote:
>> --- a/drivers/staging/comedi/comedi_pci.c
>> +++ b/drivers/staging/comedi/comedi_pci.c
>> @@ -57,14 +57,16 @@ EXPORT_SYMBOL_GPL(comedi_pci_enable);
>>
>> /**
>>* comedi_pci_disable() - R
This is a patch to usbdux.c that fixes the camel case warnings found
by the checkpatch.pl tool
Signed-off-by: Jacob Garber
---
drivers/staging/comedi/drivers/usbdux.c | 404 +++
1 file changed, 202 insertions(+), 202 deletions(-)
diff --git a/drivers/staging/comedi/
> -Original Message-
> From: Tomas Hozza [mailto:tho...@redhat.com]
> Sent: Wednesday, March 13, 2013 9:14 AM
> To: gre...@linuxfoundation.org
> Cc: KY Srinivasan; jasow...@redhat.com; Haiyang Zhang;
> devel@linuxdriverproject.org; Tomas Hozza
> Subject: [PATCH 3/3] tools: hv: daemon shou
> -Original Message-
> From: Tomas Hozza [mailto:tho...@redhat.com]
> Sent: Wednesday, March 13, 2013 9:14 AM
> To: gre...@linuxfoundation.org
> Cc: KY Srinivasan; jasow...@redhat.com; Haiyang Zhang;
> devel@linuxdriverproject.org; Tomas Hozza
> Subject: [PATCH 2/3] tools: hv: daemon sets
> -Original Message-
> From: Tomas Hozza [mailto:tho...@redhat.com]
> Sent: Wednesday, March 13, 2013 9:14 AM
> To: gre...@linuxfoundation.org
> Cc: KY Srinivasan; jasow...@redhat.com; Haiyang Zhang;
> devel@linuxdriverproject.org; Tomas Hozza
> Subject: [PATCH 1/3] tools: hv: daemon shou
HyperV KVP daemon should check nlmsg_type in received netlink message
header. If message type is NLMSG_DONE daemon can proceed with processing
otherwise it should wait for next message.
Signed-off-by: Tomas Hozza
---
tools/hv/hv_kvp_daemon.c | 4
1 file changed, 4 insertions(+)
diff --git
HyperV daemon should use macros for option values when calling setsockopt.
Using specific numeric values instead of macros is confusing.
Signed-off-by: Tomas Hozza
---
tools/hv/hv_kvp_daemon.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/tools/hv/hv_kvp_daemon.c
Previously HyperV daemon set sockaddr_nl.nl_groups to CN_KVP_IDX.
Netlink documentation says: "nl_groups is a bit mask with every bit
representing a netlink group number". Since CN_KVP_IDX value is "9"
HyperV daemon was receiving Netlink messages also from group number
"1" which is used by CGroup R
On 13/03/2013 00:41, H Hartley Sweeten wrote:
--- a/drivers/staging/comedi/comedi_pci.c
+++ b/drivers/staging/comedi/comedi_pci.c
@@ -57,14 +57,16 @@ EXPORT_SYMBOL_GPL(comedi_pci_enable);
/**
* comedi_pci_disable() - Release the regions and disable the PCI device.
- * @pcidev: pci_dev struc
25 matches
Mail list logo