On Tue, Aug 18, 2015 at 12:16:57PM +0530, Ronit Halder wrote:
> This patch fixes the warning generated by sparse
> "cast removes address space of expression" by using ioread16
> function insted of directly dereferencing I/O memory.
>
> Signed-off-by: Ronit halder
Are these really iomem pointers?
On Tue, Aug 18, 2015 at 12:10:53PM +0900, Johnny Kim wrote:
> Hello Dan.
>
> On 2015년 08월 13일 23:49, Dan Carpenter wrote:
> >On Thu, Aug 13, 2015 at 01:41:23PM +0900, Tony Cho wrote:
> >>+static u32 get_id_from_handler(tstrWILC_WFIDrv *handler)
> >>+{
> >>+ u32 id;
> >>+
> >>+ if (!handler)
>
To be honest, I have lost track of this patchset. If you are planning
to redo the other patches can you send it in a new thread?
regards,
dan carpenter
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/
On 17/08/15 21:03, H Hartley Sweeten wrote:
I was going to clean up this driver but looking it over it has a
number of serious flaws. Also, Fastwell published an End-Of-Life
notification for the board on 24/Jan/2014 (End-of-sale 30/Jun/2014,
End-of-delivery 30/Dec/2014).
Since the driver has a c
On 17/08/15 21:18, H Hartley Sweeten wrote:
Fix all the remaining checkpatch.pl issues.
v2: change errno in patch 3 to -ENOTTY
H Hartley Sweeten (3):
staging: comedi: serial2002: tidy up multi-line comments
staging: comedi: serial2002: usleep_range is preferred over udelay
staging: com
On 18/08/15 00:58, H Hartley Sweeten wrote:
This series cleans up all of the driver code except for the counter
subdevice. I still need to figure out how that subdevice works, right
now it looks like it might be a bit broken...
H Hartley Sweeten (18):
staging: comedi: s526: tidy up multi-line
Yes, it is not I/O memory address. I was wrong on that.
But it makes sparse happy.
Is here any side effect of using ioread16() ?
regards,
ronit
On Tue, Aug 18, 2015 at 2:27 PM, Dan Carpenter wrote:
> On Tue, Aug 18, 2015 at 12:16:57PM +0530, Ronit Halder wrote:
>> This patch fixes the warning ge
Signed-off-by: Mike Marciniszyn
---
0 files changed
diff --git a/MAINTAINERS b/MAINTAINERS
index b3c1a56..45953e9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9892,6 +9892,13 @@ M: Arnaud Patard
S: Odd Fixes
F: drivers/staging/xgifb/
+HFI1 DRIVER
+M: Mike Marciniszyn
+L
The move from infiniband to staging requires a temporary
PCI dependency to fix 0-day build issues. The
drivers/infiniband/hw/Kconfig gratuitously added it for all drivers.
Signed-off-by: Mike Marciniszyn
---
drivers/staging/hfi1/Kconfig |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
This patch adds a blank line after declaration found by checkpatch.pl
WARNING: Missing a blank line after declarations.
Signed-off-by: Chaehyun Lim
---
drivers/staging/wilc1000/coreconfigurator.c | 8
drivers/staging/wilc1000/linux_wlan.c | 18 ++
driv
> A: these and other similar errors:
>
> In file included from ../drivers/staging/hfi1/chip.c:61:0:
> ../drivers/staging/hfi1/chip.c: In function â__hfi1_trace_LINKVERBâ:
> ../drivers/staging/hfi1/trace.h:1357:20: error: function
> â__hfi1_trace_LINKVERBâ can never be inlined because it u
Mentioning true or false in the if comparison is error prone and also
not according to the coding style.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/most/aim-cdev/cdev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/most/aim-cdev/cdev.c
b/drive
According to the kernel coding style the NULL check should not be
written as [variable] == NULL or [variable] != NULL.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/most/aim-cdev/cdev.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/most/aim
sparse was complaining that an integer is used as NULL pointer. Fix it
by using NULL.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/most/hdm-dim2/dim2_hdm.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/most/hdm-dim2/dim2_hdm.c
b/drivers/stagin
These functions were only defined but not used anywhere.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/most/hdm-dim2/dim2_hal.c | 5 -
drivers/staging/most/hdm-dim2/dim2_hal.h | 5 -
drivers/staging/most/hdm-dim2/dim2_hdm.c | 10 --
3 files changed, 20 deletions(-)
diff -
The Makefile is including "drivers/media/video". But there is no such
directory in kernel tree. Since it is aim-v4l2 this might have been
"drivers/media/v4l2-core", but the Kconfig already mentions that it
depends on VIDEO_V4L2. So no need to mention that again in the Makefile.
Signed-off-by: Sud
The variable conf was only assigned the value but was never used.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/most/hdm-usb/hdm_usb.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c
b/drivers/staging/most/hdm-usb/hdm_usb.c
index 305303f..34843b
If kzalloc fails it will print lots of debugging information in the log,
no need to have another in the code.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/most/aim-cdev/cdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/most/aim-cdev/cdev.c
b/drivers/staging/most/ai
split_arg_list() and audio_set_pcm_format() are being called from the
same file and is not referenced from outside, so make them as static.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/most/aim-sound/sound.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/
Multiple blank lines are not recommended in the kernel coding style.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/most/aim-cdev/cdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/most/aim-cdev/cdev.c
b/drivers/staging/most/aim-cdev/cdev.c
index e5853d0..818efc8 1006
On Tue, Aug 18, 2015 at 10:06:09AM -0400, Mike Marciniszyn wrote:
> Signed-off-by: Mike Marciniszyn
> ---
> 0 files changed
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index b3c1a56..45953e9 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -9892,6 +9892,13 @@ M: Arnaud Patard
> S: Od
> > +HFI1 DRIVER
> > +M: Mike Marciniszyn
> > +L: linux-r...@vger.kernel.org
> > +L: de...@driverdev.osuosl.org
> > +S: Supported
> > +F: drivers/staging/hfi1
>
> Why do this for a driver that is being deleted?
>
You are thinking of ipath. This is a new driver.
Mike
_
On Tue, Aug 18, 2015 at 10:15:42AM -0400, Mike Marciniszyn wrote:
> The move from infiniband to staging requires a temporary
> PCI dependency to fix 0-day build issues. The
> drivers/infiniband/hw/Kconfig gratuitously added it for all drivers.
>
> Signed-off-by: Mike Marciniszyn
> ---
> drivers
On Tue, Aug 18, 2015 at 04:04:15PM +, Marciniszyn, Mike wrote:
> > > +HFI1 DRIVER
> > > +M: Mike Marciniszyn
> > > +L: linux-r...@vger.kernel.org
> > > +L: de...@driverdev.osuosl.org
> > > +S: Supported
> > > +F: drivers/staging/hfi1
> >
> > Why do this for a dri
> Subject: Re: [PATCH] Kconfig: add temporary PCI dependency
>
> On Tue, Aug 18, 2015 at 10:15:42AM -0400, Mike Marciniszyn wrote:
> > The move from infiniband to staging requires a temporary PCI
> > dependency to fix 0-day build issues. The
> > drivers/infiniband/hw/Kconfig gratuitously added it
On Tue, Aug 18, 2015 at 12:18 PM, Sudip Mukherjee
wrote:
> According to the kernel coding style the NULL check should not be
> written as [variable] == NULL or [variable] != NULL.
It seems this not documented in Documentation/CodingStyle .
___
devel mai
> Subject: Re: [PATCH] MAINTAINERS: Add maintainer section for hfi1
>
> On Tue, Aug 18, 2015 at 04:04:15PM +, Marciniszyn, Mike wrote:
> > > > +HFI1 DRIVER
> > > > +M: Mike Marciniszyn
> > > > +L: linux-r...@vger.kernel.org
> > > > +L: de...@driverdev.osuosl.org
> > > > +S: Su
On Tue, Aug 18, 2015 at 04:29:50PM +, Marciniszyn, Mike wrote:
> > Subject: Re: [PATCH] Kconfig: add temporary PCI dependency
> >
> > On Tue, Aug 18, 2015 at 10:15:42AM -0400, Mike Marciniszyn wrote:
> > > The move from infiniband to staging requires a temporary PCI
> > > dependency to fix 0-d
Fix "code indent should use tabs where possible" checkpatch error
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c
b/drivers/staging/rtl8192u/r8192U_core.c
index
A space existed before the close parenthesis of an if statement. This patch
removes it to follow the kernel code style.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8192u/r8192U_c
Use #include instead of
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c
b/drivers/staging/rtl8192u/r8192U_core.c
index 9a658b4..2ab0a98 100644
--- a/drivers/st
Clean-up the file by using a cleaner spacing around symbols and
words. Mostly use the automatic checkpatch whitespacing fixes.
This takes care of the consistent spacing errors reported by
checkpatch.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 288 +++
Some switch and case were not be at the same indent level.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 190 -
1 file changed, 95 insertions(+), 95 deletions(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c
b/drivers/staging
Fix "else should follow close brace" checkpatch error.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c
b/drivers/staging/rtl8192u/r8192U_core.c
index 3c20731..
A missing struct keyword in variable declaration triggered a
need consistent spacing around '*' code style error. The struct
keyword thus has been added everywhere for the rtl8192_rx_info
struct, and therefore its typedef removed as not needed anymore.
Signed-off-by: Raphaël Beamonte
---
drivers
Checkpatch was giving a "externs should be avoided in .c files" because
of these forward declarations. As these were not useful in this case,
they have been removed.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 6 --
1 file changed, 6 deletions(-)
diff --git
Replace C99 // comments by /* comments */ to follow the
kernel code style. Remove some unuseful comments.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 636 -
1 file changed, 316 insertions(+), 320 deletions(-)
diff --git a/drivers/
Whitespaces are not necessary before a quoted newline. Remove those.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c
b/drivers/staging/rtl8192u/r819
Adds whitespaces to separate the variables declarations and the
function content.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 44 +++---
1 file changed, 41 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8192u/r8192U_cor
Two sets of parentheses were used to contain the same statement.
In those cases, one of them has been removed, as unnecessary.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl819
Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are
__aligned(2)
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c
b/drivers/staging/rtl8192u/r81
kfree(NULL) is safe and the checks were not required.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c
b/drivers/staging/rtl8192u/r8192U_core.c
inde
Quoted strings should not be split to help text grep in the source.
All quoted strings that were split have thus been merged to one unique
quoted string each to follow the code style.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 8
1 file changed, 4 inser
void function return statement was not useful in this case.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c
b/drivers/staging/rtl8192u/r8192U_core.c
index 2ab0a98..90c5907 100644
Light code refactoring to keep the lines under 80 characters to follow
the kernel code style.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 1248 ++--
1 file changed, 850 insertions(+), 398 deletions(-)
diff --git a/drivers/staging/rtl8
> On Aug 18, 2015, at 9:50 AM, Greg KH wrote:
>
> On Tue, Aug 18, 2015 at 04:29:50PM +, Marciniszyn, Mike wrote:
>>> Subject: Re: [PATCH] Kconfig: add temporary PCI dependency
>>>
>>> On Tue, Aug 18, 2015 at 10:15:42AM -0400, Mike Marciniszyn wrote:
The move from infiniband to staging
This patch allows setting all options in the module's debug region
options file 'wilc_debug_region'. This functionality allows the user
to enable logging from all regions (initialization, locks, firmware
etc.) of the driver. Logging from the following regions is enabled
during the driver initiali
> On Aug 18, 2015, at 9:33 AM, Marciniszyn, Mike
> wrote:
>
>> Subject: Re: [PATCH] MAINTAINERS: Add maintainer section for hfi1
>>
>> On Tue, Aug 18, 2015 at 04:04:15PM +, Marciniszyn, Mike wrote:
> +HFI1 DRIVER
> +M: Mike Marciniszyn
> +L: linux-r...@vger.kernel.
braces {} are not necessary for any arm of a statement containing
one statement on each side.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c
b/driver
Hi,
Here is an update of the patches fixing all the checkpatch warnings and
errors for the file drivers/staging/rtl8192u/r8192U_core.c, thanks to
Sudop Mukherjee's remarks and advices.
As a reminder, here is the checkpatch.pl tailed output before patches:
total: 334 errors, 402 warnings,
An else statement is not useful after a return.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/rtl8192u/r8192U_core.c | 31 ++-
1 file changed, 14 insertions(+), 17 deletions(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c
b/drivers/staging/rtl8192u/r819
2015-08-18 5:15 GMT-04:00 Dan Carpenter :
> To be honest, I have lost track of this patchset. If you are planning
> to redo the other patches can you send it in a new thread?
Actually, Greg already included the "return statement" and
"DECLARE_WILC_BUFFER" ones.
The replacement of printk by netdev
On 08/18/15 10:00, Doug Ledford wrote:
>
>> On Aug 18, 2015, at 9:50 AM, Greg KH wrote:
>>
>> On Tue, Aug 18, 2015 at 04:29:50PM +, Marciniszyn, Mike wrote:
Subject: Re: [PATCH] Kconfig: add temporary PCI dependency
On Tue, Aug 18, 2015 at 10:15:42AM -0400, Mike Marciniszyn wro
Used #include instead of #include to
remove a coding style warning detected by checkpatch.
The warning is given below:
drivers/staging/i2o/config-osm.c:22: WARNING: Use #include
instead of
Signed-off-by: Aparna Karuthodi
---
drivers/staging/i2o/config-osm.c |2 +-
1 file changed, 1 ins
In cases where visorbus is compiled directly into the kernel, if
visorbus registration fails for any reason, it is still possible for
other drivers to call visorbus_register_visor_driver(), which could
cause an oops. Prevent this by returning an error code when the bus
hasn't been registered.
Sign
From: David Kershner
devnum pool and devnum are no longer needed. Just
get rid of them.
Signed-off-by: David Kershner
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/visornic/visornic_main.c | 26 -
1 file changed, 26 deletions(-)
diff --git a/drivers/staging
From: David Kershner
We don't need the list of devices, we can loop through the one
provided by the network api and filter on ours.
Signed-off-by: David Kershner
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/visornic/visornic_main.c | 13 -
1 file changed, 13 deletions(
This patch series addresses several issues found during review,
testing, and by the kernel test bot.
Benjamin Romer (2):
staging: unisys: stop device registration before visorbus registration
staging: unisys: visornic: handle error return from device
registration
David Kershner (6):
sta
From: David Kershner
The net device already has a name, use that instead
Signed-off-by: David Kershner
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/visornic/visornic_main.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/unisys/visornic/visornic_main.c
b/dri
From: David Kershner
The receive byte statistics was wrong in /proc/net/dev.
Move the collection of statistics after the proper amount
of bytes has been calculated and make sure you add it to
rx_bytes instead of just replacing it.
Signed-off-by: David Kershner
Signed-off-by: Benjamin Romer
--
From: David Kershner
If there is an error in registering driver attributes, unregister
the driver as well.
Signed-off-by: David Kershner
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/visorbus/visorbus_main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/unis
There is no code to handle an error return in visornic, when it tries to
register with visorbus. This patch handles an error return from
visorbus_register_visor_driver() by dropping out of initialization.
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/visornic/visornic_main.c | 5 +++--
From: David Kershner
Noticed we were not unregistering the netdevice if we failed to
create the debugfs entries. This patch fixes that problem.
Signed-off-by: David Kershner
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/visornic/visornic_main.c | 5 -
1 file changed, 4 insertio
dgnc_poll_tick is declared global, so dgnc_driver_pollrate_store needs to take
the lock dgnc_poll_lock before modifying this variable. dgnc_poll_lock is
the appropriate lock, since it is inteded for poll scheduling and dgnc_poll_tick
contains the poll rate. dgnc_poll_lock needs to be declared not s
Now that a link can be either between two different graph
objects, we'll need to add more functions to create links.
So, rename the existing one that create links only between
two pads as media_create_pad_link().
No functional changes.
This patch was created via this shell script:
for i i
On Tue, Aug 18, 2015 at 10:00:39AM -0700, Doug Ledford wrote:
>
> > On Aug 18, 2015, at 9:50 AM, Greg KH wrote:
> >
> > On Tue, Aug 18, 2015 at 04:29:50PM +, Marciniszyn, Mike wrote:
> >>> Subject: Re: [PATCH] Kconfig: add temporary PCI dependency
> >>>
> >>> On Tue, Aug 18, 2015 at 10:15:4
Hi Mike,
On Tue, 18 Aug 2015 14:24:32 + "Marciniszyn, Mike"
wrote:
>
> > A: these and other similar errors:
> >
> > In file included from ../drivers/staging/hfi1/chip.c:61:0:
> > ../drivers/staging/hfi1/chip.c: In function â__hfi1_trace_LINKVERBâ:
> > ../drivers/staging/hfi1/trace.h:13
Tenaga Nasional Berhad
(TNB HQ) 129 Jalan Bangsar,
59200 Kuala Lumpur,
Kuala Lumpur,
Malaysia
Ini adalah satu pemberitahuan rasmi daripada ibu pejabat daripada Tenaga
Nasional Berhad sempena Persatuan Air Malaysia (PAM) untuk memaklumkan anda
mengenai Hadiah Khas Eksklusif Tenaga Nasional Berha
> On Aug 18, 2015, at 4:11 PM, Greg KH wrote:
>
> On Tue, Aug 18, 2015 at 10:00:39AM -0700, Doug Ledford wrote:
>>
>>> On Aug 18, 2015, at 9:50 AM, Greg KH wrote:
>>>
>>> On Tue, Aug 18, 2015 at 04:29:50PM +, Marciniszyn, Mike wrote:
> Subject: Re: [PATCH] Kconfig: add temporary PCI d
On Tue, Aug 18, 2015 at 06:24:40PM -0700, Doug Ledford wrote:
>
> > On Aug 18, 2015, at 4:11 PM, Greg KH wrote:
> >
> > On Tue, Aug 18, 2015 at 10:00:39AM -0700, Doug Ledford wrote:
> >>
> >>> On Aug 18, 2015, at 9:50 AM, Greg KH wrote:
> >>>
> >>> On Tue, Aug 18, 2015 at 04:29:50PM +, Ma
On Mon, Aug 17, 2015 at 07:06:40PM -0400, Raphaël Beamonte wrote:
> Signed-off-by: Raphaël Beamonte
You can't submit a patch with no changelog information, sorry.
Always build your patches, otherwise you make maintainers really grumpy
as it breaks their build.
greg k-h
_
On Tue, Aug 18, 2015 at 01:06:39PM -0400, Raphaël Beamonte wrote:
> 2015-08-18 5:15 GMT-04:00 Dan Carpenter :
> > To be honest, I have lost track of this patchset. If you are planning
> > to redo the other patches can you send it in a new thread?
>
> Actually, Greg already included the "return st
On Tue, Aug 18, 2015 at 10:32:17PM +0530, Chandra S Gorentla wrote:
> This patch allows setting all options in the module's debug region
> options file 'wilc_debug_region'. This functionality allows the user
> to enable logging from all regions (initialization, locks, firmware
> etc.) of the drive
> On Aug 18, 2015, at 7:49 PM, Greg KH wrote:
>
> On Tue, Aug 18, 2015 at 06:24:40PM -0700, Doug Ledford wrote:
>>
>>
>>> Are
>>> you going to be responsible for all of the patches sent to it and you
>>> just want me to ignore them, or will you send patches to me for me to
>>> apply?
>>
>> I
It was just a wrapper around kfree(), so call that instead.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/wilc1000/wilc_exported_buf.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_exported_buf.c
b/drivers/staging/wilc1000/wilc_
Hi,
As requested, here are the two remaining ready patches of this
patchset. I pulled and rebased against staging-testing just now.
They should thus be usable without problem!
Thanks,
Raphaël
Raphaël Beamonte (2):
staging: wilc1000: remove FREE_WILC_BUFFER()
staging: wilc1000: replace MALLO
The MALLOC_WILC_BUFFER() macro was using a return statement, and didn't
take care of possible memory leaks and subsequent bugs when it was failing
after succeeding some allocations. This patch corrects this behavior.
Signed-off-by: Raphaël Beamonte
---
drivers/staging/wilc1000/wilc_exported_buf.
On Tue, Aug 18, 2015 at 08:11:26PM -0700, Doug Ledford wrote:
>
> > On Aug 18, 2015, at 7:49 PM, Greg KH wrote:
> >
> > On Tue, Aug 18, 2015 at 06:24:40PM -0700, Doug Ledford wrote:
> >>
> >>
> >>> Are
> >>> you going to be responsible for all of the patches sent to it and you
> >>> just want
> On Aug 18, 2015, at 9:10 PM, Greg KH wrote:
>
>>
>> a library for their transfer engine, which also requires writing said
>> library), I’m wondering if it isn’t worthwhile to create a
>> staging/infiniband directory, remove your name and driverdevel from
>> the maintainer entry for the direct
This patch fixes the warning generated by sparse
"Using plain integer as NULL pointer" by using NULL
instead of zero.
Signed-off-by: Ronit halder
---
drivers/staging/most/aim-network/networking.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/most/aim-network
This patch removes braces for single statement blocks.
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Chaehyun Lim
---
drivers/staging/wilc1000/wilc_msgqueue.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/wi
This patch remove unnecessary parentheses found by checkpatch.pl
CHECK: Unnecessary parentheses around pHandle->hSem
Signed-off-by: Chaehyun Lim
---
drivers/staging/wilc1000/wilc_msgqueue.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_msgq
This patch removes multiple blank lines.
CHECK: Please don't use multiple blank lines
Signed-off-by: Chaehyun Lim
---
drivers/staging/wilc1000/wilc_msgqueue.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c
b/drivers/staging/wilc1000/wilc_msgqueue.
This patch removes blank line before a close brace "}"
CHECK: Blank lines aren't necessary before a close brace '}'
Signed-off-by: Chaehyun Lim
---
drivers/staging/wilc1000/wilc_msgqueue.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c
b/drivers/stag
This patch removes a blank line for open brace "{"
CHECK: Blank lines aren't necessary after an open brace '{'
Signed-off-by: Chaehyun Lim
---
drivers/staging/wilc1000/wilc_msgqueue.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c
b/drivers/staging
85 matches
Mail list logo