[PATCH 12/30] staging: lustre: Remove version.h header inclusion in linux-debug.c

2013-07-23 Thread Sachin Kamat
version.h header inclusion is not necessary as detected by versioncheck. Signed-off-by: Sachin Kamat --- .../lustre/lustre/libcfs/linux/linux-debug.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-debug.c b/drivers/staging/lustre/lus

[PATCH 05/30] staging: lustre: Remove version.h header inclusion in socklnd_lib-linux.h

2013-07-23 Thread Sachin Kamat
version.h header inclusion is not necessary as detected by versioncheck. Signed-off-by: Sachin Kamat --- .../lustre/lnet/klnds/socklnd/socklnd_lib-linux.h |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib-linux.h b/drivers/staging/lustr

[PATCH 13/30] staging: lustre: Remove version.h header inclusion in dir.c

2013-07-23 Thread Sachin Kamat
version.h header inclusion is not necessary as detected by versioncheck. Signed-off-by: Sachin Kamat --- drivers/staging/lustre/lustre/llite/dir.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/llite/dir.c b/drivers/staging/lustre/lustre/llite/dir.c index a9

[PATCH 19/30] staging: lustre: Remove version.h header inclusion in super25.c

2013-07-23 Thread Sachin Kamat
version.h header inclusion is not necessary as detected by versioncheck. Signed-off-by: Sachin Kamat --- drivers/staging/lustre/lustre/llite/super25.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/llite/super25.c b/drivers/staging/lustre/lustre/llite/super2

[PATCH V2 2/2] staging: iio: replace strict_strto*() with kstrto*()

2013-07-23 Thread Jingoo Han
The usage of strict_strto*() is not preferred, because strict_strto*() is obsolete. Thus, kstrto*() should be used. Previously, there were only strict_strtol(), strict_strtoul(), strict_strtoull(), and strict_strtoll(). Thus, when converting to the variables, only long, unsigned long, unsigned lon

[PATCH V2 1/2] staging: tidspbridge: replace strict_strtol() with kstrtos32()

2013-07-23 Thread Jingoo Han
The usage of strict_strtol() is not preferred, because strict_strtol() is obsolete. Thus, kstrtos32() should be used in order to convert a string to s32. Also, error handling is added to get rid of a __must_check warning. Signed-off-by: Jingoo Han --- drivers/staging/tidspbridge/pmgr/dbll.c |

Re: [PATCH 1/2] staging: tidspbridge: replace strict_strtol() with kstrtol()

2013-07-23 Thread Jingoo Han
On Tuesday, July 23, 2013 8:03 PM, Dan Carpenter wrote: > > The following test program illustrates the memory corruption. You > would hope foo.b would be 42 but it is corrupted to -1. > > #include > #include > > struct foo { > int a, b; > }; > > void kstrtol(long *x) > { > *x = -

Re: [PATCH 1/2] staging: gdm7240: adding LTE USB driver

2013-07-23 Thread Greg KH
On Tue, Jul 23, 2013 at 11:43:52AM +0300, Dan Carpenter wrote: > On Tue, Jul 23, 2013 at 04:40:29PM +0900, Won Kang wrote: > > Thank you so much for the review. I will try to fix them soon. > > Should I continue to send patches until reviewers agrees to accept > > them? I have no experience with su

Re: [PATCH] staging: dwc2: add microframe scheduler from downstream Pi kernel

2013-07-23 Thread Greg KH
On Wed, Jul 17, 2013 at 12:35:46PM -0700, Paul Zimmerman wrote: > The transfer scheduler in the dwc2 driver is pretty basic, not to > mention buggy. It works fairly well with just a couple of devices > plugged in, but if you add, say, multiple devices with periodic > endpoints, the scheduler breaks

Re: [PATCH] staging: rtl8712: return MAC in standard form

2013-07-23 Thread Greg Kroah-Hartman
On Thu, Jul 11, 2013 at 10:23:57AM +0300, Andy Shevchenko wrote: > > Do we have typo in the MAINTAINERS file? I have got mail delivery > rejection for the de...@driverdev.osuosl.org. No, the list was down, it should be back up now... thanks, greg k-h

Re: [PATCH] Staging: cxt1e1: ossiRelease.c: fixed a coding style issue.

2013-07-23 Thread Greg KH
On Mon, Jul 08, 2013 at 07:33:48PM +0300, Aldo Iljazi wrote: > Fixed a coding style issue, specifically checkpatch.pl complain: > ossiRelease.c:27: WARNING: line over 80 characters > > Signed-off-by: Aldo Iljazi > --- > drivers/staging/cxt1e1/ossiRelease.c |3 ++- > 1 file changed, 2 inserti

Re: [PATCH v4] staging: usbip: replace pr_warning() with dev_warn().

2013-07-23 Thread Greg KH
On Thu, Jun 27, 2013 at 03:34:52PM +0530, navin patidar wrote: > dev_warn() is preferred over pr_warning(). > > container_of() is used to get usb_driver pointer from usbip_device container > (stub_device or vhci_device), to get device structure required for dev_warn(). > > Signed-off-by: navin pa

Re: [PATCH 1/1] staging/speakup/kobjects.c: Code improvement.

2013-07-23 Thread Greg Kroah-Hartman
On Fri, Jun 21, 2013 at 10:54:40PM -0300, Raphael S. Carvalho wrote: > Well, there is no need to use strcmp since we can make a test of similar > semantic by using the var_id field of param. > I moved the test into the VAR_NUM:VAR_TIME case since VAR_STRING will > never be "voice". > > spk_xlate i

[PATCH 00/27] devm cleanup, part #1, take #3

2013-07-23 Thread Wolfram Sang
Here is another bit of cleaning up the devm usage. It is again removing the resource check with devm_ioremap_resource, because a) new drivers came in and b) coccinelle had a bug and missed to find a couple of occasions. Unlike last time, I think it is better if these patches go in via the subsystem

[PATCH 18/27] drivers/staging/imx-drm: don't check resource with devm_ioremap_resource

2013-07-23 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang --- Please apply via the subsystem-tree. drivers/staging/imx-drm/imx-tve.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/imx-drm/imx-

Re: [PATCH] Staging: bcm: Qos: Fix some coding style issues

2013-07-23 Thread Lilis Iskandar
On Tue, 2013-07-23 at 09:42 -0700, Joe Perches wrote: > On Tue, 2013-07-23 at 19:51 +0800, Lilis Iskandar wrote: > > Fixed spacing/tabs issues that were found using checkpatch. > > Hi Lilis. > > It'd be better to change the email subject to > "[PATCH v2] etc..." to show that's it's a new > versio

RE: [PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-23 Thread KY Srinivasan
> -Original Message- > From: Dave Hansen [mailto:dave.han...@intel.com] > Sent: Tuesday, July 23, 2013 12:01 PM > To: KY Srinivasan > Cc: Michal Hocko; gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > a...@firs

RE: [PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-23 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, July 23, 2013 12:02 PM > To: KY Srinivasan > Cc: linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; > a...@canonical.com; a...@firstfloor.org; a...@linux-foundation.org; l

Re: [PATCH] Staging: bcm: Qos: Fix some coding style issues

2013-07-23 Thread Joe Perches
On Tue, 2013-07-23 at 19:51 +0800, Lilis Iskandar wrote: > Fixed spacing/tabs issues that were found using checkpatch. Hi Lilis. It'd be better to change the email subject to "[PATCH v2] etc..." to show that's it's a new version of the patch. It's also useful to add a note or two like "git diff

Re: [PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-23 Thread Greg KH
On Fri, Jul 19, 2013 at 12:23:05PM -0700, K. Y. Srinivasan wrote: > The current machinery for hot-adding memory requires having udev > rules to bring the memory segments online. Export the necessary functionality > to to bring the memory segment online without involving user space code. > > Signe

Re: [PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-23 Thread Dave Hansen
On 07/23/2013 08:54 AM, KY Srinivasan wrote: >> > Adding memory usually requires allocating some large, contiguous areas >> > of memory for use as mem_map[] and other VM structures. That's really >> > hard to do under heavy memory pressure. How are you accomplishing this? > I cannot avoid failure

RE: [PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-23 Thread KY Srinivasan
> -Original Message- > From: Dave Hansen [mailto:dave.han...@intel.com] > Sent: Tuesday, July 23, 2013 11:28 AM > To: KY Srinivasan > Cc: Michal Hocko; gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > a...@firs

RE: [PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-23 Thread KY Srinivasan
> -Original Message- > From: Michal Hocko [mailto:mho...@suse.cz] > Sent: Tuesday, July 23, 2013 11:10 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > a...@firstfloor.org; a...@lin

Re: [PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-23 Thread Dave Hansen
On 07/23/2013 07:52 AM, KY Srinivasan wrote: > The current scheme of involving user > level code to close this loop obviously does not perform well under high > memory pressure. Adding memory usually requires allocating some large, contiguous areas of memory for use as mem_map[] and other VM str

Re: [PATCH] Staging: bcm: Qos: Fix some coding style issues

2013-07-23 Thread Dan Carpenter
On Tue, Jul 23, 2013 at 07:51:02PM +0800, Lilis Iskandar wrote: > Fixed spacing/tabs issues that were found using checkpatch. > Looks good. Reviewed-by: Dan Carpenter regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://

Re: [PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-23 Thread Michal Hocko
On Tue 23-07-13 14:52:36, KY Srinivasan wrote: > > > > -Original Message- > > From: Michal Hocko [mailto:mho...@suse.cz] > > Sent: Monday, July 22, 2013 8:37 AM > > To: KY Srinivasan > > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > > de...@linuxdriverproject.org; o...@a

RE: [PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-23 Thread KY Srinivasan
> -Original Message- > From: Michal Hocko [mailto:mho...@suse.cz] > Sent: Monday, July 22, 2013 8:37 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > a...@firstfloor.org; a...@linux

[PATCH v3 5/5] staging: ozwpan: Rename Kbuild to Makefile

2013-07-23 Thread Rupesh Gujare
From: Joe Perches Rename Kbuild to usual Makefile, consistent with Kernel build structure. Signed-off-by: Joe Perches Signed-off-by: Rupesh Gujare --- drivers/staging/ozwpan/Kbuild | 16 drivers/staging/ozwpan/Makefile | 16 2 files changed, 16 insertio

[PATCH v3 4/5] staging: ozwpan: Convert macro to function.

2013-07-23 Thread Rupesh Gujare
From: Joe Perches Replace macro with inline function. Signed-off-by: Joe Perches Signed-off-by: Rupesh Gujare --- drivers/staging/ozwpan/ozurbparanoia.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ozwpan/ozurbparanoia.h b/drivers/staging/ozwpan/

[PATCH v3 1/5] staging: ozwpan: Remove extra debug logs.

2013-07-23 Thread Rupesh Gujare
From: Joe Perches Remove unnecessary debug logs. Most of these logs print function name at the start of function, which are not really required. Signed-off-by: Joe Perches Signed-off-by: Rupesh Gujare --- drivers/staging/ozwpan/ozcdev.c |2 -- drivers/staging/ozwpan/ozhcd.c | 28 ++

[PATCH v3 3/5] staging: ozwpan: Remove old debug macro.

2013-07-23 Thread Rupesh Gujare
From: Joe Perches Remove old oz_trace & oz_trace2 macro & related header files. Signed-off-by: Joe Perches Signed-off-by: Rupesh Gujare --- drivers/staging/ozwpan/Kbuild |6 ++ drivers/staging/ozwpan/ozcdev.c|2 -- drivers/staging/ozwpan/ozconfig.h | 26 ---

[PATCH v3 0/5] staging: ozwpan: Replace debug macro

2013-07-23 Thread Rupesh Gujare
This is v3 of this original patch series here:- http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2013-June/039280.html v3 adds commit log for each patch as suggested by Joe here:- http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2013-July/039361.html Joe Perches

Re: [PATCH] Staging: bcm: Qos: Fix some coding style issues

2013-07-23 Thread Lilis Iskandar
Fixed spacing/tabs issues that were found using checkpatch. Signed-off-by: Lilis Iskandar --- drivers/staging/bcm/Qos.c | 538 +++--- 1 file changed, 269 insertions(+), 269 deletions(-) diff --git a/drivers/staging/bcm/Qos.c b/drivers/staging/bcm/Qos.c in

Re: [PATCH 2/2] staging: iio: replace strict_strto*() with kstrto*()

2013-07-23 Thread Lars-Peter Clausen
On 07/23/2013 01:26 PM, Dan Carpenter wrote: > On Tue, Jul 23, 2013 at 07:19:03PM +0900, Jingoo Han wrote: >> diff --git a/drivers/staging/iio/trigger/iio-trig-bfin-timer.c >> b/drivers/staging/iio/trigger/iio-trig-bfin-timer.c >> index 38a158b..03766bb 100644 >> --- a/drivers/staging/iio/trigger/

Re: [PATCH 2/2] staging: iio: replace strict_strto*() with kstrto*()

2013-07-23 Thread Dan Carpenter
On Tue, Jul 23, 2013 at 07:19:03PM +0900, Jingoo Han wrote: > diff --git a/drivers/staging/iio/trigger/iio-trig-bfin-timer.c > b/drivers/staging/iio/trigger/iio-trig-bfin-timer.c > index 38a158b..03766bb 100644 > --- a/drivers/staging/iio/trigger/iio-trig-bfin-timer.c > +++ b/drivers/staging/iio/t

Re: [PATCH 1/2] staging: tidspbridge: replace strict_strtol() with kstrtol()

2013-07-23 Thread Dan Carpenter
The following test program illustrates the memory corruption. You would hope foo.b would be 42 but it is corrupted to -1. #include #include struct foo { int a, b; }; void kstrtol(long *x) { *x = -1; } int main(void) { struct foo foo; foo.b = 42; kstrt

Re: [PATCH 2/2] staging: iio: replace strict_strto*() with kstrto*()

2013-07-23 Thread Dan Carpenter
On Tue, Jul 23, 2013 at 07:19:03PM +0900, Jingoo Han wrote: > The usage of strict_strto*() is not preferred, because > strict_strto*() is obsolete. Thus, kstrto*() should be > used. In olden times there was just strict_strtol() and strict_strtoul(). These days we have kstrtou8() and kstrtoint() an

Re: [PATCH 1/2] staging: tidspbridge: replace strict_strtol() with kstrtol()

2013-07-23 Thread Jingoo Han
On Tuesday, July 23, 2013 7:34 PM, Dan Carpenter wrote: > On Tue, Jul 23, 2013 at 07:16:21PM +0900, Jingoo Han wrote: > > The usage of strict_strtol() is not preferred, because > > strict_strtol() is obsolete. Thus, kstrtol() should be > > used. > > > > Signed-off-by: Jingoo Han > > --- > > drive

Re: [PATCH 1/2] staging: tidspbridge: replace strict_strtol() with kstrtol()

2013-07-23 Thread Dan Carpenter
On Tue, Jul 23, 2013 at 07:16:21PM +0900, Jingoo Han wrote: > The usage of strict_strtol() is not preferred, because > strict_strtol() is obsolete. Thus, kstrtol() should be > used. > > Signed-off-by: Jingoo Han > --- > drivers/staging/tidspbridge/pmgr/dbll.c |6 -- > 1 file changed, 4 i

[PATCH 2/2] staging: iio: replace strict_strto*() with kstrto*()

2013-07-23 Thread Jingoo Han
The usage of strict_strto*() is not preferred, because strict_strto*() is obsolete. Thus, kstrto*() should be used. Signed-off-by: Jingoo Han --- drivers/staging/iio/accel/sca3000_core.c |4 ++-- drivers/staging/iio/accel/sca3000_ring.c |2 +- drivers/staging/iio/adda

[PATCH 1/2] staging: tidspbridge: replace strict_strtol() with kstrtol()

2013-07-23 Thread Jingoo Han
The usage of strict_strtol() is not preferred, because strict_strtol() is obsolete. Thus, kstrtol() should be used. Signed-off-by: Jingoo Han --- drivers/staging/tidspbridge/pmgr/dbll.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/tidspbridge/pmgr/

Re: [PATCH] Staging: bcm: Qos: Fix some coding style issues

2013-07-23 Thread Dan Carpenter
On Tue, Jul 23, 2013 at 06:10:41PM +0800, Lilis Iskandar wrote: > Hi Dan, > > I have already accepted my fate when I submitted the patch. Though it's > really great that I receive a response so fast :) > > Regarding the braces, I thought it would be more readable that way > because of the long co

Re: [PATCH] Staging: bcm: Qos: Fix some coding style issues

2013-07-23 Thread Lilis Iskandar
Hi Dan, I have already accepted my fate when I submitted the patch. Though it's really great that I receive a response so fast :) Regarding the braces, I thought it would be more readable that way because of the long code wrapping inside the "if" parameter. I'll fix it and send the patches again

Re: [PATCH] Staging: bcm: Qos: Fix some coding style issues

2013-07-23 Thread Dan Carpenter
Hi hi, Welcome first time submitter newbie. :) The tradition is to reject first time code submissions in the meanest and grumpiest way possible. On Tue, Jul 23, 2013 at 05:20:29PM +0800, Lilis Iskandar wrote: > >From a2f8b299baee0e075d548d2bbf77619373035446 Mon Sep 17 00:00:00 2001 > From: Lili

[PATCH] Staging: bcm: Qos: Fix some coding style issues

2013-07-23 Thread Lilis Iskandar
>From a2f8b299baee0e075d548d2bbf77619373035446 Mon Sep 17 00:00:00 2001 From: Lilis Iskandar Date: Tue, 23 Jul 2013 17:08:37 +0800 Subject: [PATCH] Staging: bcm: Qos: Fix some coding style issues Fix some coding style issues. Signed-off-by: Lilis Iskandar --- drivers/staging/bcm/Qos.c | 600 ++

Re: [PATCH 1/2] staging: gdm7240: adding LTE USB driver

2013-07-23 Thread Dan Carpenter
On Tue, Jul 23, 2013 at 04:40:29PM +0900, Won Kang wrote: > Thank you so much for the review. I will try to fix them soon. > Should I continue to send patches until reviewers agrees to accept > them? I have no experience with submitting codes, and just not sure > how to follow up. it's first time f