[PATCH] drivers/staging/media/go7007: using strlcpy instead of strncpy

2013-03-19 Thread Chen Gang
better to treate them as NUL terminated string. Signed-off-by: Chen Gang --- drivers/staging/media/go7007/go7007-v4l2.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/go7007/go7007-v4l2.c b/drivers/staging/media/go7007/go7007-v4l2.c index cb

[PATCH] drivers/staging/media/go7007: using strlcpy instead of strncpy

2013-03-19 Thread Chen Gang
for NUL terminated string, need always set '\0' in the end. Signed-off-by: Chen Gang --- drivers/staging/media/go7007/snd-go7007.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/go7007/snd-go7007.c b/drivers/staging/media/go7007/snd-go7007

RE: [PATCH 20/26] staging: comedi: ni_labpc: tidy up 8255 dio subdevice init

2013-03-19 Thread H Hartley Sweeten
On Tuesday, March 19, 2013 6:09 PM, H Hartley Sweeten wrote: > > The subdev_8255_init() function can fail. Check for failure and > return the errno. > > Consolidate the mmio/ioport calls to subdev_8255_init(). The callback > function can be added with a simple ? : test and the cast of the iobase >

[PATCH 24/26] staging: comedi: ni_labpc: rename some of the private data variables

2013-03-19 Thread H Hartley Sweeten
For aesthetic reasons, rename the 'command*_bits' and 'status*_bits' variables in the private data in order to shorten some of the long lines. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 272 ++--

[PATCH 26/26] staging: comedi: ni_labpc: update the MODULE_DESCRIPTION

2013-03-19 Thread H Hartley Sweeten
Update the MODULE_DESCRIPTION for the ni_labpc drivers. Also, use the correct author for MODULE_AUTHOR. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 4 ++-- drivers/staging/comedi/drivers/ni_labpc_cs.c | 2 +- drive

[PATCH 25/26] staging: comedi: ni_labpc: rename local var 'thisboard'

2013-03-19 Thread H Hartley Sweeten
For aesthetic reasons, rename the local variable 'thisboard' to 'board'. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 56 +-- drivers/staging/comedi/drivers/ni_labpc_isa.c | 4 +- 2 files cha

[PATCH 22/26] staging: comedi: ni_labpc: introduce labpc_range_is_unipolar()

2013-03-19 Thread H Hartley Sweeten
Introduce a helper function to determine if a range selection is bipolar or unipolar. This allows removing the static data 'labpc_range_is_unipolar' and 'labpc_plus_is_unipolar' as well as the boardinfo 'ai_range_is_unipolar'. For consistency, also use the helper in labpc_ao_insn_write() when che

[PATCH 23/26] staging: comedi: ni_labpc: remove 'volatile' from private data

2013-03-19 Thread H Hartley Sweeten
As indicated by checkpatch.pl, "WARNING: Use of volatile is usually wrong: ...". The variables in the private data that are marked volatile don't need to be. Remove the volatile. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.

[PATCH 21/26] staging: comedi: ni_labpc: tidy up calib and memory subdevice init

2013-03-19 Thread H Hartley Sweeten
For aesthetic reasons, rename the (*insn_read) and (*insn_write) functions to help with greps. Add some whitespace to the subdevice init. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 48 +--

[PATCH 20/26] staging: comedi: ni_labpc: tidy up 8255 dio subdevice init

2013-03-19 Thread H Hartley Sweeten
The subdev_8255_init() function can fail. Check for failure and return the errno. Consolidate the mmio/ioport calls to subdev_8255_init(). The callback function can be added with a simple ? : test and the cast of the iobase is not necessary. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: G

[PATCH 19/26] staging: comedi: ni_labpc: rename boardinfo 'memory_mapped_io'

2013-03-19 Thread H Hartley Sweeten
Rename the boardinfo 'memory_mapped_io' to 'has_mmio'. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 6 +++--- drivers/staging/comedi/drivers/ni_labpc.h | 2 +- drivers/staging/comedi/drivers/ni_labpc_pci.c | 2 +-

[PATCH 17/26] staging: comedi: ni_labpc: only allocate necessary subdevices

2013-03-19 Thread H Hartley Sweeten
Each comedi_subdevice uses one of the minors allocated to the comedi subsystem. The devices used with this driver need a minimum of 2 and a maximum of 5 subdevices. Only allocate and initialize the number of subdevices actually needed by the device. Signed-off-by: H Hartley Sweeten Cc: Ian Abbot

[PATCH 18/26] staging: comedi: ni_labpc: tidy up analog output subdevice init

2013-03-19 Thread H Hartley Sweeten
For aesthetic reasons, rename the (*insn_read) and (*insn_write) functions to help with greps. Add some whitespace to the subdevice init. Change the 'maxdata' value to hex as this is more common in comedi drivers. Remove the unnecessary comment about adding command support. Signed-off-by: H Hart

[PATCH 16/26] staging: comedi: ni_labpc: tidy up analog input subdevice init

2013-03-19 Thread H Hartley Sweeten
An interrupt is required for command support to work with the analog input subdevice. When used with the ISA driver, enabling the interrupt is optional. Fix the subdevice init so that command support is only enabled if the irq is available. For aesthetic reasons, rename the (*insn_read) function t

[PATCH 13/26] staging: comedi: ni_labpc: split out bus specific code

2013-03-19 Thread H Hartley Sweeten
The PCMCIA support for the National Instruments Lab-PC DAQCard-1200 is already handled by a separate module, ni_labpc_cs. Split the bus specific ISA and PCI code out of this driver and create two new drivers, ni_labpc_isa and ni_labpc_pci. This allows the ni_labpc module to be a standalone module w

[PATCH 15/26] staging: comedi: ni_labpc: remove device_id and bustype from boardinfo

2013-03-19 Thread H Hartley Sweeten
With the bus specific code split out of the ni_labpc driver, the device_id and bustype fields in the boardinfo are no longer used. Remove them. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.h | 3 --- drivers/staging/come

[PATCH 14/26] staging: comedi: ni_labpc: remove unnecessary "bustype" check

2013-03-19 Thread H Hartley Sweeten
In labpc_ai_cmd(), the thisboard->bustype check when determining the method used to transfer the data is unnecessary. Only the "isa_bustype" allocates a dma_chan so if the dma_chan is valid the isa_dma_transfer will work. Remove the unnecessary check. Signed-off-by: H Hartley Sweeten Cc: Ian Abb

[PATCH 11/26] staging: comedi: ni_labpc: remove "dummy" pci boardinfo entry

2013-03-19 Thread H Hartley Sweeten
This driver uses the comedi auto config mechanism to attach to PCI boards. The "dummy" entry in the boardinfo table is not needed. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 5 - 1 file changed, 5 deletions(-) dif

[PATCH 12/26] staging: comedi: ni_labpc: cleanup the boardinfo

2013-03-19 Thread H Hartley Sweeten
For aesthetic reasons, add some whitespace to the boardinfo. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 82 +++ 1 file changed, 40 insertions(+), 42 deletions(-) diff --git a/drivers/stagin

[PATCH 10/26] staging: comedi: ni_labpc: remove boardinfo data that is set to '0'

2013-03-19 Thread H Hartley Sweeten
It's not necessary to initialize the boardinfo data that is set to '0'. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_labpc.c b/driv

[PATCH 09/26] staging: comedi: ni_labpc: tidy up range table declarations

2013-03-19 Thread H Hartley Sweeten
Tidy up all the tables used to indicate the bipolar/unipolar type of the range. the gain bits used to set the range, and the comedi_lrange. Remove a couple unnecessary #define's used to indicate the size of the tables as well as some unnecessary comments. Signed-off-by: H Hartley Sweeten Cc: Ian

[PATCH 08/26] staging: comedi: ni_labpc: remove forward declarations 4

2013-03-19 Thread H Hartley Sweeten
Move the analog input support functions to remove the need for the remaining forward declarations. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 612 +++--- 1 file changed, 303 insertions(+), 309 d

[PATCH 06/26] staging: comedi: ni_labpc: move the analog output support functions

2013-03-19 Thread H Hartley Sweeten
For aesthetic reasons, move the analog output support functions. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 108 +++--- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/drivers/st

[PATCH 07/26] staging: comedi: ni_labpc: remove forward declarations 3

2013-03-19 Thread H Hartley Sweeten
Move the interrupt/dma support functions to remove the need for some of the forward declarations. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 424 +++--- 1 file changed, 209 insertions(+), 215 de

[PATCH 03/26] staging: comedi: ni_labpc: add some whitespace to the *_driver declarations

2013-03-19 Thread H Hartley Sweeten
For aesthetic reasons, add some whitespace to the comedi_driver and pci_driver as well as the pci device table declarations. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 26 +- 1 file changed, 13

[PATCH 05/26] staging: comedi: ni_labpc: remove forward declarations 2

2013-03-19 Thread H Hartley Sweeten
Move the eeprom/caldac support functions to remove the need for some of the forward declarations. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c | 168 ++ 1 file changed, 81 insertions(+), 87 dele

[PATCH 04/26] staging: comedi: ni_labpc: remove forward declarations 1

2013-03-19 Thread H Hartley Sweeten
Move the comedi_driver (*attach), (*auto_attach), and (*detach) functions as well as a couple of the attach helper functions to remove the need for a number of the forward declarations. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni

[PATCH 02/26] staging: comedi: ni_labpc: remove thisboard macro

2013-03-19 Thread H Hartley Sweeten
The 'thisboard' macro relies on a local variable having a specific name and yields a pointer derived from that local variable. Replace the macro with a local variable and use the comedi_board() helper to get the const pointer. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartm

[PATCH 01/26] staging: comedi: ni_labpc: rename labpc_board_struct

2013-03-19 Thread H Hartley Sweeten
For aesthetic reasons, rename labpc_board_struct to labpc_boardinfo. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_labpc.c| 10 +- drivers/staging/comedi/drivers/ni_labpc.h| 2 +- drivers/staging/comedi/drivers/ni_

[PATCH 00/26] staging: comedi: ni_labpc: cleanup the driver

2013-03-19 Thread H Hartley Sweeten
Cleanup the driver and split the bus specific support out to separate drivers. H Hartley Sweeten (26): staging: comedi: ni_labpc: rename labpc_board_struct staging: comedi: ni_labpc: remove thisboard macro staging: comedi: ni_labpc: add some whitespace to the *_driver declarations staging:

RE: [PATCH V2 1/3] mm: Export split_page()

2013-03-19 Thread KY Srinivasan
> -Original Message- > From: Michal Hocko [mailto:mho...@suse.cz] > Sent: Tuesday, March 19, 2013 10:13 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > a...@firstfloor.org; a...@li

Re: [PATCHv2 09/12] staging: ti-soc-thermal: fix several kernel-doc warnings and error

2013-03-19 Thread Nishanth Menon
On 10:54-20130319, Eduardo Valentin wrote: > This patch updates the documentation to remove > all warnings and errors reported by scripts/kernel-doc. > Most are missing arguments due to wrong format. > > Cc: Nishanth Menon > > Signed-off-by: Eduardo Valentin > --- &

Congratulations To You

2013-03-19 Thread powerball222
Powerball Lotto 2013 Email Promotion Winning Notification-75210 This is to inform you that your email has won for you $1,500,000 in Powerball Lotto 2013 new year Promo. You did not purchase any ticket to enter for it, as an internet user your email address was randomly selected and you are one o

[PATCHv2 12/12] staging: ti-soc-thermal: propagate error code

2013-03-19 Thread Eduardo Valentin
While writing talert thresholds, propagate the error code from ti_bandgap_update_alert_threshold to the caller of _ti_bandgap_write_threshold. Signed-off-by: Eduardo Valentin --- drivers/staging/ti-soc-thermal/ti-bandgap.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a

[PATCHv2 11/12] staging: ti-soc-thermal: fix bitfield writing while updating thresholds

2013-03-19 Thread Eduardo Valentin
Wrong threshold cold values may be written with current implementation. This patch fixes the threshold update function by simplifying the bitfield manipulation sequence. Signed-off-by: Eduardo Valentin --- drivers/staging/ti-soc-thermal/ti-bandgap.c |8 1 files changed, 4 insertions

[PATCHv2 10/12] staging: ti-soc-thermal: fix condition to apply hyst

2013-03-19 Thread Eduardo Valentin
While updating talert thresholds, threshold cold must always be lower than threshold hot. This patch fixes the function ti_bandgap_update_alert_threshold to only change the thresholds by applying a hysteresis when they violate this condition. Signed-off-by: Eduardo Valentin --- drivers/staging/t

[PATCHv2 09/12] staging: ti-soc-thermal: fix several kernel-doc warnings and error

2013-03-19 Thread Eduardo Valentin
This patch updates the documentation to remove all warnings and errors reported by scripts/kernel-doc. Most are missing arguments due to wrong format. Cc: Nishanth Menon Signed-off-by: Eduardo Valentin --- drivers/staging/ti-soc-thermal/ti-bandgap.c | 56 +- drivers/s

[PATCHv2 08/12] stating: ti-soc-thermal: use sizeof(*pointer) while allocating

2013-03-19 Thread Eduardo Valentin
Follow Documentation/CodingStyle and use sizeof(*pointer) instead of sizeof(struct type). Signed-off-by: Eduardo Valentin --- drivers/staging/ti-soc-thermal/ti-bandgap.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ti-soc-thermal/ti-bandgap.c b/driv

[PATCHv2 07/12] staging: ti-soc-thermal: split writable data from readonly data

2013-03-19 Thread Eduardo Valentin
This patch changes the data structures of this driver so that readonly data can reside only in the conf pointer. Now each register has a struct to hold its configuration info, to be used base on chip version for instance, and a struct of values to be written, like register shadow and priv data. Si

[PATCHv2 06/12] staging: ti-soc-thermal: make unexported functions local

2013-03-19 Thread Eduardo Valentin
Move _ti_bandgap_write_threshold and _ti_bandgap_read_threshold to static area, as they are local functions. Signed-off-by: Eduardo Valentin --- drivers/staging/ti-soc-thermal/ti-bandgap.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ti-soc-ther

[PATCHv2 04/12] staging: ti-soc-thermal: rename Kconfig options

2013-03-19 Thread Eduardo Valentin
This patch renames the Kconfig options to cope with the new naming convention. Cc: Santosh Shilimkar Cc: Benoit Cc: Nishanth Menon Cc: Dan Carpenter Signed-off-by: Eduardo Valentin --- drivers/staging/Makefile|2 +- drivers/staging/ti-soc-thermal/Kconfig | 14

[PATCHv2 03/12] staging: rename omap-thermal driver to ti-soc-thermal

2013-03-19 Thread Eduardo Valentin
Because this driver will support also OMAP derivatives, this patch does a big rename inside this driver, so it better fits its usage. This patch only renames the directory, file names, includes, Makefiles and Kconfig includes. Cc: Santosh Shilimkar Cc: Benoit Cc: Nishanth Menon Cc: Dan Carpent

[PATCHv2 02/12] staging: omap-thermal: rename bg_ptr to bgp

2013-03-19 Thread Eduardo Valentin
Use a shorter name to bandgap pointer. Cc: Benoit Cc: Dan Carpenter Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c| 562 ++-- drivers/staging/omap-thermal/omap-bandgap.h| 28 +- drivers/staging/omap-thermal/omap-thermal-commo

RE: [PATCH V2 2/3] Drivers: hv: balloon: Support 2M page allocations for ballooning

2013-03-19 Thread KY Srinivasan
> -Original Message- > From: Michal Hocko [mailto:mho...@suse.cz] > Sent: Tuesday, March 19, 2013 10:46 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > devel@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > a...@firstfloor.org; a...@li

[PATCHv2 01/12] staging: omap-thermal: fix return value

2013-03-19 Thread Eduardo Valentin
Return the proper error value in _omap_bandgap_read_threshold. Acked-by: Dan Carpenter Signed-off-by: Eduardo Valentin --- drivers/staging/omap-thermal/omap-bandgap.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers

[PATCHv2 00/12] staging: [omap,ti-soc]-thermal: fixes and renaming

2013-03-19 Thread Eduardo Valentin
Hello Greg, This is version 2 of this series to rename omap-thermal driver inside staging tree. V1 is found here: http://lkml.org/lkml/2013/3/18/357 The idea of the series is the same. It includes several fixes, but the major change is that now the driver will be named ti-soc-thermal, because it

Re: [PATCH V2 2/3] Drivers: hv: balloon: Support 2M page allocations for ballooning

2013-03-19 Thread Michal Hocko
On Mon 18-03-13 13:51:37, K. Y. Srinivasan wrote: > On Hyper-V it will be very efficient to use 2M allocations in the guest as > this > makes the ballooning protocol with the host that much more efficient. Hyper-V > uses page ranges (start pfn : number of pages) to specify memory being moved > aro

Re: [PATCH 0/8] staging: [omap,ti-soc]-thermal: fixes and renaming

2013-03-19 Thread Eduardo Valentin
Hello Greg, On 18-03-2013 10:59, Eduardo Valentin wrote: Hi Greg, I am sending extra patches on omap-thermal driver, under staging. There are couple of fixes based on Dan Carpenter's review on the last patch set I sent. On top of these, there are some changes on the naming convention for this

Re: [PATCH V2 1/3] mm: Export split_page()

2013-03-19 Thread Michal Hocko
On Mon 18-03-13 13:51:36, K. Y. Srinivasan wrote: > This symbol would be used in the Hyper-V balloon driver to support 2M > allocations. > > In this version of the patch, based on feedback from Michal Hocko > , I have updated the patch description. I guess this part is not necessary ;) > > Sign

Re: [PATCH] imx_drm: ipu_v3: fix invalid free of devm_* allocated data

2013-03-19 Thread Sascha Hauer
On Sat, Mar 16, 2013 at 02:02:36PM +0200, Silviu-Mihai Popescu wrote: > The objects allocated by devm_* APIs are managed by devres and are freed > when the device is detached. There is no need to use kfree() explicitly. Not only 'no need', it's simply wrong. > > Signed-off-by: Silviu-Mihai Popes

[PATCH 1/9] staging/sb105x: coding style fixes

2013-03-19 Thread Samuel Iglesias Gonsalvez
No change in the logic of the driver Signed-off-by: Samuel Iglesias Gonsalvez --- drivers/staging/sb105x/sb_pci_mp.c | 974 +--- 1 file changed, 449 insertions(+), 525 deletions(-) diff --git a/drivers/staging/sb105x/sb_pci_mp.c b/drivers/staging/sb105x/sb_pci_

[PATCH 6/9] staging/sb105x: coding style issues

2013-03-19 Thread Samuel Iglesias Gonsalvez
Driver logic is not being modified Signed-off-by: Samuel Iglesias Gonsalvez --- drivers/staging/sb105x/sb_mp_register.h |7 +- drivers/staging/sb105x/sb_pci_mp.c | 390 ++- drivers/staging/sb105x/sb_pci_mp.h | 165 ++--- drivers/staging/sb105x/

[PATCH 8/9] staging/sb105x: remove BROKEN tag from Kconfig

2013-03-19 Thread Samuel Iglesias Gonsalvez
Now the build finishes without any errors Signed-off-by: Samuel Iglesias Gonsalvez --- drivers/staging/sb105x/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sb105x/Kconfig b/drivers/staging/sb105x/Kconfig index 245e784..58cc52e 100644 --- a/drivers

[PATCH 2/9] staging/sb105x: rename _INLINE_ to inline

2013-03-19 Thread Samuel Iglesias Gonsalvez
No need to have a definition of inline. It doesn't harm anything if explicitly specify Signed-off-by: Samuel Iglesias Gonsalvez --- drivers/staging/sb105x/sb_pci_mp.c | 24 drivers/staging/sb105x/sb_pci_mp.h |9 - 2 files changed, 12 insertions(+), 21 delet

[PATCH 5/9] staging/sb105x: change some printk to corresponding pr_*

2013-03-19 Thread Samuel Iglesias Gonsalvez
Signed-off-by: Samuel Iglesias Gonsalvez --- drivers/staging/sb105x/sb_pci_mp.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/sb105x/sb_pci_mp.c b/drivers/staging/sb105x/sb_pci_mp.c index 9e30a0c..cb27fb6 100644 --- a/drive

[PATCH 9/9] staging/sb105x: add TODO file

2013-03-19 Thread Samuel Iglesias Gonsalvez
Signed-off-by: Samuel Iglesias Gonsalvez --- drivers/staging/sb105x/TODO |6 ++ 1 file changed, 6 insertions(+) create mode 100644 drivers/staging/sb105x/TODO diff --git a/drivers/staging/sb105x/TODO b/drivers/staging/sb105x/TODO new file mode 100644 index 000..518346f --- /dev/null

[PATCH 3/9] staging/sb105x: delete debug printks

2013-03-19 Thread Samuel Iglesias Gonsalvez
Signed-off-by: Samuel Iglesias Gonsalvez --- drivers/staging/sb105x/sb_pci_mp.c | 20 1 file changed, 20 deletions(-) diff --git a/drivers/staging/sb105x/sb_pci_mp.c b/drivers/staging/sb105x/sb_pci_mp.c index 4c88bfc..7196412 100644 --- a/drivers/staging/sb105x/sb_pci_mp.

[PATCH 4/9] staging/sb105x: change some printk to corresponding dev_*

2013-03-19 Thread Samuel Iglesias Gonsalvez
Signed-off-by: Samuel Iglesias Gonsalvez --- drivers/staging/sb105x/sb_pci_mp.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/staging/sb105x/sb_pci_mp.c b/drivers/staging/sb105x/sb_pci_mp.c index 7196412..9e30a0c 100644 --- a/drivers/staging/s

[PATCH 0/9] staging/sb105x: minor fixes

2013-03-19 Thread Samuel Iglesias Gonsalvez
Hello all, I have been working in a batch of patches to make the driver sb105x compile-able with latest source code base. I have not tested the patches in real HW as I don't have it. Hopefully, I didn't break anything. The driver has a lot of coding style issues, lack of tty_port support, a lot

[PATCH 7/9] staging/sb105x: use tty_port

2013-03-19 Thread Samuel Iglesias Gonsalvez
Use struct tty_port wherever is needed, fixing compilation errors. Signed-off-by: Samuel Iglesias Gonsalvez --- drivers/staging/sb105x/sb_pci_mp.c | 18 +++--- drivers/staging/sb105x/sb_ser_core.h |1 + 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/s

[PATCH 13/12] staging: comedi: Kconfig: update CONFIG_AMPLC_DIO200_PCI help text

2013-03-19 Thread Ian Abbott
After splitting support for PCI cards out of the "amplc_dio200" module into "amplc_dio200_pci", the help text needs updating. Signed-off-by: Ian Abbott --- Sorry for the 13/12 - I forgot about changing the help text! --- drivers/staging/comedi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 de

Re: Can HyperV KVP daemon detect if running under Windows Server

2013-03-19 Thread Tomas Hozza
- Original Message - > 于 2013年03月19日 16:58, Tomas Hozza 写道: > > - Original Message - > >>> -Original Message- > >>> From: Tomas Hozza [mailto:tho...@redhat.com] > >>> Sent: Monday, March 18, 2013 11:39 AM > >>> To: KY Srinivasan > >>> Cc: Jason Wang > >>> Subject: Re: Can Hy

Re: Can HyperV KVP daemon detect if running under Windows Server

2013-03-19 Thread vaughan
于 2013年03月19日 16:58, Tomas Hozza 写道: - Original Message - -Original Message- From: Tomas Hozza [mailto:tho...@redhat.com] Sent: Monday, March 18, 2013 11:39 AM To: KY Srinivasan Cc: Jason Wang Subject: Re: Can HyperV KVP daemon detect if running under Windows Server - Origin

Re: Can HyperV KVP daemon detect if running under Windows Server

2013-03-19 Thread Tomas Hozza
- Original Message - > > -Original Message- > > From: Tomas Hozza [mailto:tho...@redhat.com] > > Sent: Monday, March 18, 2013 11:39 AM > > To: KY Srinivasan > > Cc: Jason Wang > > Subject: Re: Can HyperV KVP daemon detect if running under Windows > > Server > > > > - Original M

Re: hv_netvsc: WARNING in softirq.c

2013-03-19 Thread Richard Genoud
2013/3/7 Richard Genoud : > 2013/3/6 Haiyang Zhang : >> I have found a simple way to reproduce this kind of warning: >> 1) reboot the VM (because this warning can be displayed only once.) >> 2) login to the host and open the VM [Settings] >> 3) Temporarily change the Network adapter's option [Virtu

Re: [PATCH 3/3] staging: vt6656: remove code placeholders

2013-03-19 Thread Dan Carpenter
On Mon, Mar 18, 2013 at 08:33:51PM -0500, Andres More wrote: > Removed comments from coding template. > sed -i '/^\/\*---/d' drivers/staging/vt6656/*.[ch] > I wish you would delete all the blank lines as well. We shouldn't have two blanks in a row. But otherwise this is fine. Reviewed-by: Dan

Re: [PATCH 2/3] staging: vt6656: removed custom 802.11 header usage

2013-03-19 Thread Dan Carpenter
On Mon, Mar 18, 2013 at 08:33:50PM -0500, Andres More wrote: > Removed struct tagS802_11Header, switching to struct ieee80211_hdr instead. > Checkpatch warnings and errors were not resolved. > Great. Reviewed-by: Dan Carpenter The goodness of this is that now we can find all the endian bugs ve

Re: [PATCH 1/3] staging: vt6656: removed usage of custom Ethernet header

2013-03-19 Thread Dan Carpenter
On Mon, Mar 18, 2013 at 08:33:49PM -0500, Andres More wrote: > Removed struct tagSEthernetHeader, replacing with struct ethhdr. > Not all checkpatch errors and warnings were removed. > Looks great. Reviewed-by: Dan Carpenter regards, dan carpenter _