Re: [PATCH 04/12] staging: bcm: print small buffers with %*ph

2012-08-03 Thread Kevin McKinney
On Fri, Aug 03, 2012 at 10:31:32AM +0300, Andy Shevchenko wrote: > On Thu, 2012-08-02 at 21:59 -0400, Kevin McKinney wrote: > > > --- a/drivers/staging/bcm/CmHost.c > > > +++ b/drivers/staging/bcm/CmHost.c > > > @@ -999,13 +999,10 @@ static VOID DumpCmControlPacket(PVOID pvBuffer) > > > I am unab

Re: [PATCH v3] isdnloop: fix and simplify isdnloop_init()

2012-08-03 Thread David Miller
From: Fengguang Wu Date: Fri, 3 Aug 2012 17:10:01 +0800 > Fix a buffer overflow bug by removing the revision and printk. > > [ 22.016214] isdnloop-ISDN-driver Rev 1.11.6.7 > [ 22.097508] isdnloop: (loop0) virtual card added > [ 22.174400] Kernel panic - not syncing: stack-protector: Kerne

Re: [PATCH net-next,1/1] hyperv: Move wait completion msg code into rndis_filter_halt_device()

2012-08-03 Thread David Miller
From: Haiyang Zhang Date: Fri, 3 Aug 2012 12:32:18 -0700 > We need to wait for send_completion msg before put_rndis_request() at > the end of rndis_filter_halt_device(). Otherwise, netvsc_send_completion() > may reference freed memory which is overwritten, and cause panic. > > Reported-by: Long

[PATCH net-next, 1/1] hyperv: Move wait completion msg code into rndis_filter_halt_device()

2012-08-03 Thread Haiyang Zhang
We need to wait for send_completion msg before put_rndis_request() at the end of rndis_filter_halt_device(). Otherwise, netvsc_send_completion() may reference freed memory which is overwritten, and cause panic. Reported-by: Long Li Reported-by: Jason Wang Signed-off-by: Haiyang Zhang --- drive

[PATCH] staging: comedi: update adl_pci7296 driver

2012-08-03 Thread H Hartley Sweeten
Currently this driver only supports the 96-channel PCI-7296. The 24 and 48 channel PCI-7224 and PCI-7248 boards share the same register map and just have less 8255 devices providing the i/o channels. This adds the PCI PnP support for the other boards in the ADLink PCI-72xx series. Also, remove th

[PATCH 2/2 v2] staging: comedi: remove adl_pci7230 and adl_pci7432 drivers

2012-08-03 Thread H Hartley Sweeten
The boards supported by these drivers are now handled by the adl_pci7x3x driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- v2: remove the adl_pci7230 and adl_pci7432 drivers from the Kconfig and Makefile drivers/staging/comedi/Kconfig | 16

[PATCH 1/2 v2] staging: comedi: new adl_pci7x3x driver

2012-08-03 Thread H Hartley Sweeten
Currently the ADLink PCI-7230 and PCI-7432 Isolated Digital I/O Boards are supported using two drivers (adl_pci7230 and adl_pci7432). These drivers are very similar and only differ in the total number of di/do channels provided. This driver combines the support for both boards into one common driv

[PATCH 0/2 v2] staging: comedi: combine adl_pci7230 and adl_pci7432 drivers

2012-08-03 Thread H Hartley Sweeten
These drivers are very similar and only differ in the total number of di/do channels provided. Combine them into one common driver to make it more maintainable. v2: remove the adl_pci7230 and adl_pci7432 drivers from the Kconfig and Makefile H Hartley Sweeten (2): staging: comedi: new adl_p

[PATCH 2/2] staging: comedi: remove adl_pci7230 and adl_pci7432 drivers

2012-08-03 Thread H Hartley Sweeten
The boards supported by these drivers are now handled by the adl_pci7x3x driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/adl_pci7230.c | 190 - drivers/staging/comedi/drivers/adl_pci7432.c | 200 -

[PATCH 1/2] staging: comedi: new adl_pci7x3x driver

2012-08-03 Thread H Hartley Sweeten
Currently the ADLink PCI-7230 and PCI-7432 Isolated Digital I/O Boards are supported using two drivers (adl_pci7230 and adl_pci7432). These drivers are very similar and only differ in the total number of di/do channels provided. This combines the support for both boards into one common driver. In

[PATCH 0/2] staging: comedi: combine adl_pci7230 and adl_pci7432 drivers

2012-08-03 Thread H Hartley Sweeten
These drivers are very similar and only differ in the total number of di/do channels provided. Combine them into one common driver to make it more maintainable. H Hartley Sweeten (2): staging: comedi: new adl_pci7x3x driver staging: comedi: remove adl_pci7230 and adl_pci7432 drivers drivers/

Re: Build regressions/improvements in v3.5

2012-08-03 Thread Greg KH
On Fri, Aug 03, 2012 at 04:11:23PM +0200, Geert Uytterhoeven wrote: > On Fri, Aug 3, 2012 at 4:06 PM, Geert Uytterhoeven > wrote: > > JFYI, when comparing v3.5 to v3.5-rc7[3], the summaries are: > > - build errors: +6/-9 > > - build warnings: +105/-5443 > > + drivers/staging/ccg/../../usb/

Re: [PATCH 1/3] drivers/misc: Add realtek card reader core driver

2012-08-03 Thread Arnd Bergmann
On Friday 03 August 2012, wwang wrote: > I got your ideas. Bus driver depending on other modules is indeed a bad > style. > > In our situation, just take pci device for example, pci-common is the > place to detect card plugged or unplugged, so pci-common is required to > call and probe sdmmc-pci o

Re: Build regressions/improvements in v3.5

2012-08-03 Thread Geert Uytterhoeven
On Fri, Aug 3, 2012 at 4:06 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.5 to v3.5-rc7[3], the summaries are: > - build errors: +6/-9 > - build warnings: +105/-5443 + drivers/staging/ccg/../../usb/gadget/f_mass_storage.c: error: implicit declaration of function 'get_ds' [-Werror=

Newsletter.

2012-08-03 Thread Zimbra Team.
Zimbra Account Warning This mail is from Zimbra Administrator; we wish to bring to your notice the Condition of your email account. We have just noticed that you have exceeded your email Database limit of 500 MB quota and your email IP is causing conflict because it is been accessed in diff

Re: [PATCH 04/12] staging: bcm: print small buffers with %*ph

2012-08-03 Thread Kevin McKinney
On Fri, Aug 3, 2012 at 3:31 AM, Andy Shevchenko wrote: > On Thu, 2012-08-02 at 21:59 -0400, Kevin McKinney wrote: >> > --- a/drivers/staging/bcm/CmHost.c >> > +++ b/drivers/staging/bcm/CmHost.c >> > @@ -999,13 +999,10 @@ static VOID DumpCmControlPacket(PVOID pvBuffer) > >> I am unable to apply thi

Re: [PATCH 06/12] staging: nvec: use %*ph to dump small buffers

2012-08-03 Thread Julian Andres Klode
On Thu, Aug 02, 2012 at 07:05:46PM +0300, Andy Shevchenko wrote: > Signed-off-by: Andy Shevchenko > Cc: Julian Andres Klode > Cc: Marc Dietrich > Cc: ac...@lists.launchpad.net > --- > drivers/staging/nvec/nvec.c |3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/driv

[PATCH v3] isdnloop: fix and simplify isdnloop_init()

2012-08-03 Thread Fengguang Wu
Fix a buffer overflow bug by removing the revision and printk. [ 22.016214] isdnloop-ISDN-driver Rev 1.11.6.7 [ 22.097508] isdnloop: (loop0) virtual card added [ 22.174400] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 83244972 [ 22.174400] [ 22.43

Re: [PATCH v2] isdnloop: fix and simplify isdnloop_init()

2012-08-03 Thread David Miller
From: Fengguang Wu Date: Fri, 3 Aug 2012 15:32:40 +0800 > On Thu, Aug 02, 2012 at 04:21:56PM -0700, David Miller wrote: >> From: Fengguang Wu >> Date: Thu, 2 Aug 2012 19:05:43 +0800 >> >> > Fix a buffer overflow bug by removing the revision transform code. >> > >> > [ 22.016214] isdnloop-ISD

Re: [PATCH v2] isdnloop: fix and simplify isdnloop_init()

2012-08-03 Thread Karsten Keil
Am 03.08.2012 09:32, schrieb Fengguang Wu: > On Thu, Aug 02, 2012 at 04:21:56PM -0700, David Miller wrote: >> From: Fengguang Wu >> Date: Thu, 2 Aug 2012 19:05:43 +0800 >> >>> Fix a buffer overflow bug by removing the revision transform code. >>> >>> [ 22.016214] isdnloop-ISDN-driver Rev 1.11.6.

[PATCHv2] staging: rts5139: substitute rts51x_dump by print_hex_dump

2012-08-03 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko --- drivers/staging/rts5139/trace.h | 32 +++- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/drivers/staging/rts5139/trace.h b/drivers/staging/rts5139/trace.h index 0584b8a..c9dfb1e 100644 --- a/drivers/staging/rts5139/

[PATCHv2] staging: rts_pstor: substitute rtsx_dump by print_hex_dump

2012-08-03 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko --- drivers/staging/rts_pstor/trace.h | 30 +++--- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/drivers/staging/rts_pstor/trace.h b/drivers/staging/rts_pstor/trace.h index bc83b49..cf60a1b 100644 --- a/drivers/staging/rts

[PATCH v2] isdnloop: fix and simplify isdnloop_init()

2012-08-03 Thread Fengguang Wu
On Thu, Aug 02, 2012 at 04:21:56PM -0700, David Miller wrote: > From: Fengguang Wu > Date: Thu, 2 Aug 2012 19:05:43 +0800 > > > Fix a buffer overflow bug by removing the revision transform code. > > > > [ 22.016214] isdnloop-ISDN-driver Rev 1.11.6.7 > > [ 22.097508] isdnloop: (loop0) virtua

Re: [PATCH 04/12] staging: bcm: print small buffers with %*ph

2012-08-03 Thread Andy Shevchenko
On Thu, 2012-08-02 at 21:59 -0400, Kevin McKinney wrote: > > --- a/drivers/staging/bcm/CmHost.c > > +++ b/drivers/staging/bcm/CmHost.c > > @@ -999,13 +999,10 @@ static VOID DumpCmControlPacket(PVOID pvBuffer) > I am unable to apply this patch. I tried to apply it against the linux-next > and st

Re: [PATCH 06/12] staging: nvec: use %*ph to dump small buffers

2012-08-03 Thread Marc Dietrich
Hello Andy, Am Donnerstag, 2. August 2012, 19:05:46 schrieb Andy Shevchenko: > Signed-off-by: Andy Shevchenko > Cc: Julian Andres Klode > Cc: Marc Dietrich > Cc: ac...@lists.launchpad.net > --- > drivers/staging/nvec/nvec.c |3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff