[PATCH] staging: dgnc: dgnc_tty: Remove a prohibited space

2014-05-16 Thread Masaru Nomura
Remove a prohibited space before a closed parenthesis of if statement to meet kernel coding style. Signed-off-by: Masaru Nomura --- drivers/staging/dgnc/dgnc_tty.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/

[PATCH] Staging: speakup: fixed reporting_keystroke variable type

2014-05-16 Thread Son P. Nguyen
From: "Son P. Nguyen" Fixed reporting_keystroke type to int instead of bool to quiet sparse complaints of error cannot size expression. This is a part of eudyptula-challenge. Signed-off-by: Son P. Nguyen --- drivers/staging/speakup/fakekey.c | 6 +++--- 1 file changed, 3 insertions(+), 3 dele

[PATCH] staging: dgnc: dgnc_tty: Add a required space

2014-05-16 Thread Masaru Nomura
Add a required space before an open parenthesis of if statement to meet kernel coding style. Signed-off-by: Masaru Nomura --- drivers/staging/dgnc/dgnc_tty.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_t

Re: [PATCH] staging: dgap: implement error handling in dgap_tty_register()

2014-05-16 Thread Greg KH
On Fri, Apr 25, 2014 at 04:04:59PM +0900, Daeseok Youn wrote: > - alloc_tty_driver() is deprecated so it is changed to > tty_alloc_driver() > - Pointers which are allocated by alloc_tty_driver() and kzalloc() > can be NULL so it need to check NULL for them. > - If one of those is failed, it need to

[PATCH 1/4] staging/wlan-ng: add prefix to function name

2014-05-16 Thread Denis Pithon
Renamed convert_frame_to_ether() to p80211_convert_to_ether(). Signed-off-by: Denis Pithon --- drivers/staging/wlan-ng/p80211netdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index 6

[PATCH] staging/wlan-ng: log with netdev_xxx and dev_xxx

2014-05-16 Thread Denis Pithon
Wherever possible, replaced printk() and pr_xxx() calls with netdev_xxx() / dev_xxx() calls; used pr_xxx() otherwise. Signed-off-by: Denis Pithon --- drivers/staging/wlan-ng/p80211netdev.c | 45 +- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/dr

[PATCH 4/4] staging/wlan-ng: rearrange comments

2014-05-16 Thread Denis Pithon
Gathered together comments in front of multicast filtering block. Signed-off-by: Denis Pithon --- drivers/staging/wlan-ng/p80211netdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c inde

[PATCH 2/4] staging/wlan-ng: compare using ether_addr_equal_unaligned

2014-05-16 Thread Denis Pithon
Replaced generic memcmp() with dedicated ether_addr_equal_unaligned() call. I did not find any clue of u16 alignment for both addresses. Signed-off-by: Denis Pithon --- drivers/staging/wlan-ng/p80211netdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wl

[PATCH 3/4] staging/wlan-ng: multicast address checking

2014-05-16 Thread Denis Pithon
Used is_multicast_ether_addr() to perform the checking. Signed-off-by: Denis Pithon --- drivers/staging/wlan-ng/p80211netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index 13fe068..63edc

Re: [PATCH 3/5] dma-mapping: pci: Add devm_ interface for pci_map_single

2014-05-16 Thread Tejun Heo
On Fri, May 16, 2014 at 11:26:37AM +0300, Eli Billauer wrote: > > Signed-off-by: Eli Billauer > --- > Documentation/driver-model/devres.txt |2 ++ > include/asm-generic/pci-dma-compat.h | 17 + > 2 files changed, 19 insertions(+), 0 deletions(-) The patch looks fine to me

Re: [PATCH 2/5] dma-mapping: Add devm_ interface for dma_map_single()

2014-05-16 Thread Tejun Heo
Hello, On Fri, May 16, 2014 at 11:26:36AM +0300, Eli Billauer wrote: > +dma_addr_t dmam_map_single(struct device *dev, void *ptr, size_t size, > +enum dma_data_direction direction) > + > +{ > + struct dma_devres *dr; > + dma_addr_t dma_handle; > + > + dr = devre

Re: [PATCH 1/5] devres: Add devm_get_free_pages API

2014-05-16 Thread Tejun Heo
On Fri, May 16, 2014 at 11:26:35AM +0300, Eli Billauer wrote: > devm_get_free_pages() and devm_free_pages() are the managed counterparts > for __get_free_pages() and free_pages(). > > Signed-off-by: Eli Billauer Acked-by: Tejun Heo Thanks. -- tejun ___

RE: [PATCH 1/2] scsi: hyper-v storvsc switch up to SPC-3

2014-05-16 Thread KY Srinivasan
> -Original Message- > From: driverdev-devel-boun...@linuxdriverproject.org [mailto:driverdev- > devel-boun...@linuxdriverproject.org] On Behalf Of KY Srinivasan > Sent: Friday, May 16, 2014 12:29 PM > To: James Bottomley; Ian Abbott > Cc: Andy Whitcroft; de...@linuxdriverproject.org; Hai

Re: staging: dgap/dgnc maintainers list

2014-05-16 Thread Christian Engelmayer
On Fri, 16 May 2014 15:06:46 +0300, Dan Carpenter wrote: > On Fri, May 16, 2014 at 07:57:08AM -0400, Mark Hounschell wrote: > > On 05/16/2014 07:52 AM, Mark Hounschell wrote: > > > On 05/15/2014 06:49 PM, Dan Carpenter wrote: > > >> On Fri, May 16, 2014 at 12:27:01AM +0200, Christian Engelmayer w

RE: [PATCH 1/2] scsi: hyper-v storvsc switch up to SPC-3

2014-05-16 Thread KY Srinivasan
> -Original Message- > From: James Bottomley [mailto:james.bottom...@hansenpartnership.com] > Sent: Friday, May 16, 2014 11:25 AM > To: Ian Abbott > Cc: linux-s...@vger.kernel.org; de...@linuxdriverproject.org; Andy > Whitcroft; KY Srinivasan; Haiyang Zhang; Tim Gardner > Subject: Re: [PA

Re: [PATCH] Staging: gdm72xx: gdm_wimax: Fixed coding style issues.

2014-05-16 Thread Greg KH
On Mon, Apr 28, 2014 at 01:50:11PM -0500, Junsu Shin wrote: > Fixed following coding style issues. > - No space is necessary after a cast > - Alignment should match open parenthesis > - Braces {} should be used on all arms of this statement You are doing 3 things, so this should be 3 patches at

Re: New driver for Realtek RTL8192EE

2014-05-16 Thread Greg Kroah-Hartman
On Fri, May 16, 2014 at 10:08:07AM -0500, Larry Finger wrote: > Greg, > > This E-mail is to prepare you for a new Realtek RTL8192EE driver that I > intend to submit early next week. I hope it will be in time for kernel 3.16. Sounds good, feel free to send it anytime, a new stand-alone staging dri

Re: [PATCH 1/2] scsi: hyper-v storvsc switch up to SPC-3

2014-05-16 Thread James Bottomley
On Fri, 2014-05-16 at 19:18 +0100, Ian Abbott wrote: > On 2014-05-16 18:58, James Bottomley wrote: > > On Fri, 2014-05-16 at 18:39 +0100, Ian Abbott wrote: > >> On 2014-05-16 18:14, James Bottomley wrote: > >>> On Fri, 2014-05-16 at 16:39 +0100, Ian Abbott wrote: > From: Andy Whitcroft >

Re: [PATCH 1/2] scsi: hyper-v storvsc switch up to SPC-3

2014-05-16 Thread Ian Abbott
On 2014-05-16 18:58, James Bottomley wrote: On Fri, 2014-05-16 at 18:39 +0100, Ian Abbott wrote: On 2014-05-16 18:14, James Bottomley wrote: On Fri, 2014-05-16 at 16:39 +0100, Ian Abbott wrote: From: Andy Whitcroft Suggested-by: James Bottomley That is my patch, isn't it, just with a slig

Re: [PATCH 1/2] scsi: hyper-v storvsc switch up to SPC-3

2014-05-16 Thread James Bottomley
On Fri, 2014-05-16 at 18:39 +0100, Ian Abbott wrote: > On 2014-05-16 18:14, James Bottomley wrote: > > On Fri, 2014-05-16 at 16:39 +0100, Ian Abbott wrote: > >> From: Andy Whitcroft > >> > >> Suggested-by: James Bottomley > > > > That is my patch, isn't it, just with a slightly modified comment:

Re: [PATCH 2/2] scsi: hyper-v storvsc -- host takes MAINTENANCE_IN commands badly -- elide them

2014-05-16 Thread James Bottomley
On Fri, 2014-05-16 at 16:39 +0100, Ian Abbott wrote: > From: Andy Whitcroft > > BugLink: http://bugs.launchpad.net/bugs/1234417 This is a pretty low quality bug report; where's the analysis that should be in your patch? The problem is, is it not, that when you turn on trim we now also probe for

Re: [PATCH 1/2] scsi: hyper-v storvsc switch up to SPC-3

2014-05-16 Thread Ian Abbott
On 2014-05-16 18:14, James Bottomley wrote: On Fri, 2014-05-16 at 16:39 +0100, Ian Abbott wrote: From: Andy Whitcroft Suggested-by: James Bottomley That is my patch, isn't it, just with a slightly modified comment: http://marc.info/?l=linux-scsi&m=137908428211951 I believe so, yes. Look

Re: [PATCH 1/2] scsi: hyper-v storvsc switch up to SPC-3

2014-05-16 Thread James Bottomley
On Fri, 2014-05-16 at 16:39 +0100, Ian Abbott wrote: > From: Andy Whitcroft > > Suggested-by: James Bottomley That is my patch, isn't it, just with a slightly modified comment: http://marc.info/?l=linux-scsi&m=137908428211951 Andy promised to go off and test it and that's where the thread end

Re: [PATCH 1/2] scsi: hyper-v storvsc switch up to SPC-3

2014-05-16 Thread Dan Carpenter
On Fri, May 16, 2014 at 04:39:07PM +0100, Ian Abbott wrote: > From: Andy Whitcroft > > Suggested-by: James Bottomley > Signed-off-by: Andy Whitcroft You should be signing these as well. regards, dan carpenter ___ devel mailing list de...@linuxdrive

[PATCH 0/2] scsi: hyper-v storvsc changes by Ubuntu

2014-05-16 Thread Ian Abbott
These changes to the Microsoft Hyper-V storage driver in Ubuntu Saucy's 3.13 kernel look useful for the mainline kernel, especially as they enable 'TRIM' support. Andy Whitcroft (2): scsi: hyper-v storvsc switch up to SPC-3 scsi: hyper-v storvsc -- host takes MAINTENANCE_IN commands badly --

[PATCH 1/2] scsi: hyper-v storvsc switch up to SPC-3

2014-05-16 Thread Ian Abbott
From: Andy Whitcroft Suggested-by: James Bottomley Signed-off-by: Andy Whitcroft --- Original patch title changed slightly by Ian Abbott due to typo. --- drivers/scsi/storvsc_drv.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_dr

[PATCH 2/2] scsi: hyper-v storvsc -- host takes MAINTENANCE_IN commands badly -- elide them

2014-05-16 Thread Ian Abbott
From: Andy Whitcroft BugLink: http://bugs.launchpad.net/bugs/1234417 Signed-off-by: Andy Whitcroft Signed-off-by: Tim Gardner --- Original patch title was "UBUNTU: SAUCE: storvsc -- host takes MAINTENANCE_IN commands badly elide them". Changed by Ian Abbott --- drivers/scsi/storvsc_drv.c | 2

New driver for Realtek RTL8192EE

2014-05-16 Thread Larry Finger
Greg, This E-mail is to prepare you for a new Realtek RTL8192EE driver that I intend to submit early next week. I hope it will be in time for kernel 3.16. This device is incorporated in the recently introduced Lenovo T440s tablet, and from the correspondence that I have received, there have b

Re: [PATCH] staging: dgap: implement error handling in dgap_tty_register()

2014-05-16 Thread Greg KH
On Fri, May 16, 2014 at 12:52:47PM +0300, Dan Carpenter wrote: > On Fri, May 16, 2014 at 06:40:28PM +0900, DaeSeok Youn wrote: > > Hi, > > > > This patch haven't been updated over the past 3 weeks. > > Will you check for me? > > Greg was trying to travel around the world in one month like Jackie

Re: randconfig build error with next-20140516, in drivers/staging/rtl8723au/core/rtw_cmd.c

2014-05-16 Thread Jes Sorensen
Jim Davis writes: > Building with the attached random configuration file, > > drivers/staging/rtl8723au/core/rtw_cmd.c: In function ‘c2h_evt_hdl’: > drivers/staging/rtl8723au/core/rtw_cmd.c:1315:4: error: implicit declaration > of > function ‘c2h_handler_8723a’ [-Werror=implicit-function-declarat

[PATCH] staging/rtl8192u: Put EXPORT_SYMBOL just after the exported function

2014-05-16 Thread Benoit Taine
Export of symbols statement must be placed right after the definition to meet kernel coding style guidelines. This issue was reported by checkpatch. A simplified version of the semantic patch that makes this change is as follows (http://coccinelle.lip6.fr/): // @ r @ identifier f; @@ - EXPORT_S

[PATCH] staging: dgap: Add Mark Hounschell to maintainers list for dgap

2014-05-16 Thread Mark Hounschell
Add Mark Hounschell to the MAINTAINERs list for the dgap driver Signed-off-by: Mark Hounschell Suggested-by: Dan Carpenter Cc: Greg Kroah-Hartman --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index da68679..c9be346 100644 --- a/MAINTAINERS +++ b/

Re: staging: dgap/dgnc maintainers list

2014-05-16 Thread Dan Carpenter
On Fri, May 16, 2014 at 07:57:08AM -0400, Mark Hounschell wrote: > On 05/16/2014 07:52 AM, Mark Hounschell wrote: > > On 05/15/2014 06:49 PM, Dan Carpenter wrote: > >> On Fri, May 16, 2014 at 12:27:01AM +0200, Christian Engelmayer wrote: > >>> Hi, > >>> > >>> As I got a bit queued up for dgap, I ju

Re: staging: dgap/dgnc maintainers list

2014-05-16 Thread Mark Hounschell
On 05/16/2014 07:52 AM, Mark Hounschell wrote: > On 05/15/2014 06:49 PM, Dan Carpenter wrote: >> On Fri, May 16, 2014 at 12:27:01AM +0200, Christian Engelmayer wrote: >>> Hi, >>> >>> As I got a bit queued up for dgap, I just noticed that commit 542f3d5a >>> states >>> to add Mark to the maintainer

Re: staging: dgap/dgnc maintainers list

2014-05-16 Thread Dan Carpenter
On Fri, May 16, 2014 at 07:52:53AM -0400, Mark Hounschell wrote: > On 05/15/2014 06:49 PM, Dan Carpenter wrote: > > On Fri, May 16, 2014 at 12:27:01AM +0200, Christian Engelmayer wrote: > >> Hi, > >> > >> As I got a bit queued up for dgap, I just noticed that commit 542f3d5a > >> states > >> to ad

Re: staging: dgap/dgnc maintainers list

2014-05-16 Thread Mark Hounschell
On 05/15/2014 06:49 PM, Dan Carpenter wrote: > On Fri, May 16, 2014 at 12:27:01AM +0200, Christian Engelmayer wrote: >> Hi, >> >> As I got a bit queued up for dgap, I just noticed that commit 542f3d5a states >> to add Mark to the maintainers list for dgap, while the patch addresses the >> dgnc entr

Re: [PATCH] staging: dgap: implement error handling in dgap_tty_register()

2014-05-16 Thread DaeSeok Youn
2014-05-16 18:52 GMT+09:00 Dan Carpenter : > On Fri, May 16, 2014 at 06:40:28PM +0900, DaeSeok Youn wrote: >> Hi, >> >> This patch haven't been updated over the past 3 weeks. >> Will you check for me? > > Greg was trying to travel around the world in one month like Jackie > Chan. http://www.imdb.

Re: [PATCH] staging: dgap: implement error handling in dgap_tty_register()

2014-05-16 Thread Dan Carpenter
On Fri, May 16, 2014 at 06:40:28PM +0900, DaeSeok Youn wrote: > Hi, > > This patch haven't been updated over the past 3 weeks. > Will you check for me? Greg was trying to travel around the world in one month like Jackie Chan. http://www.imdb.com/title/tt0327437/ He is back to work since yester

Re: [PATCH] staging: dgap: implement error handling in dgap_tty_register()

2014-05-16 Thread DaeSeok Youn
Hi, This patch haven't been updated over the past 3 weeks. Will you check for me? Regards, Daeseok Youn. 2014-04-28 8:21 GMT+09:00 DaeSeok Youn : > OK. I'll make my patch based on Mark's patch. > Thanks. > > Daeseok Youn. > > 2014-04-27 3:48 GMT+09:00 Dan Carpenter : >> On Sat, Apr 26, 2014 at

[PATCH V2] staging: ozwpan: remove redundant NULL check for devs

2014-05-16 Thread Daeseok Youn
The "devs" is a pointer to g_net_dev in ozmain.c. g_net_dev has a default value as empty string. So "devs" cannot be NULL, removes NULL check for "devs". Signed-off-by: Daeseok Youn --- V2: remove unneeded lines for sending a patch. drivers/staging/ozwpan/ozproto.c |2 +- 1 files changed, 1

Re: [PATCH] staging: ozwpan: remove redundant NULL check for devs

2014-05-16 Thread DaeSeok Youn
Hi, Dan 2014-05-16 18:03 GMT+09:00 Dan Carpenter : > On Fri, May 16, 2014 at 05:08:10PM +0900, Daeseok Youn wrote: >> >From 1cebea7a40490d0d0b122eb444a105d424af42e6 Mon Sep 17 00:00:00 2001 >> From: Daeseok Youn >> Date: Fri, 16 May 2014 17:02:04 +0900 >> Subject: [PATCH] staging: ozwpan: remove

Re: [PATCH] staging: ozwpan: remove redundant NULL check for devs

2014-05-16 Thread Dan Carpenter
On Fri, May 16, 2014 at 05:08:10PM +0900, Daeseok Youn wrote: > >From 1cebea7a40490d0d0b122eb444a105d424af42e6 Mon Sep 17 00:00:00 2001 > From: Daeseok Youn > Date: Fri, 16 May 2014 17:02:04 +0900 > Subject: [PATCH] staging: ozwpan: remove redundant NULL check for devs > Your patches before were

[PATCH 0/5] devres: Add functions + migrate Xillybus driver

2014-05-16 Thread Eli Billauer
This patchset consists of new functions to the managed device resource API, followed by patches for the Xillybus driver that now relies on these. Rationale: While migrating the staging/xillybus driver to rely completely on managed resources, some functionalities were missing, and hence added: * d

[PATCH 5/5] staging: xillybus: Use devm_ API for memory allocation and DMA mapping

2014-05-16 Thread Eli Billauer
Managed device resource API replaces code that reinvents it for memory allocation, page allocation and DMA mapping. Suggested-by: Baruch Siach Signed-off-by: Eli Billauer --- drivers/staging/xillybus/xillybus.h | 31 +-- drivers/staging/xillybus/xillybus_core.c | 160 ---

[PATCH 1/5] devres: Add devm_get_free_pages API

2014-05-16 Thread Eli Billauer
devm_get_free_pages() and devm_free_pages() are the managed counterparts for __get_free_pages() and free_pages(). Signed-off-by: Eli Billauer --- Documentation/driver-model/devres.txt |2 + drivers/base/devres.c | 76 + include/linux/device.h

[PATCH 2/5] dma-mapping: Add devm_ interface for dma_map_single()

2014-05-16 Thread Eli Billauer
dmam_map_single() and dmam_unmap_single() are the managed counterparts for the respective dma_* functions. Note that dmam_map_single() returns zero on failure, and not a value to be handled by dma_mapping_error(): The error check is done by dmam_map_single() to avoid the registration of a mapping

[PATCH 4/5] staging: xillybus: Use devm_ API on probe and remove

2014-05-16 Thread Eli Billauer
Suggested-by: Baruch Siach Signed-off-by: Eli Billauer --- drivers/staging/xillybus/xillybus.h |1 - drivers/staging/xillybus/xillybus_core.c |2 +- drivers/staging/xillybus/xillybus_of.c | 47 - drivers/staging/xillybus/xillybus_pcie.c | 65 ---

[PATCH 3/5] dma-mapping: pci: Add devm_ interface for pci_map_single

2014-05-16 Thread Eli Billauer
Signed-off-by: Eli Billauer --- Documentation/driver-model/devres.txt |2 ++ include/asm-generic/pci-dma-compat.h | 17 + 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index 13

[PATCH] staging: ozwpan: remove redundant NULL check for devs

2014-05-16 Thread Daeseok Youn
>From 1cebea7a40490d0d0b122eb444a105d424af42e6 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Fri, 16 May 2014 17:02:04 +0900 Subject: [PATCH] staging: ozwpan: remove redundant NULL check for devs The "devs" is a pointer to g_net_dev in ozmain.c. g_net_dev has a default value as empty string.

Re: [PATCH 3/4] staging/wlan-ng: code refactoring

2014-05-16 Thread Tobias Klauser
On 2014-05-12 at 17:22:46 +0200, Denis Pithon wrote: > Extract new static function from p80211netdev_rx_bh() to fix coding > style issue (too many leading tabs). > > Signed-off-by: Denis Pithon > --- > drivers/staging/wlan-ng/p80211netdev.c | 74 > -- > 1 file c