From: Emoly Liu
This patch fixes all checkpatch occurences of
"CHECK: spaces preferred around that '{+,-,*,/,|,<<,>>,&}' (ctx:VxV)"
in Lustre code.
Signed-off-by: Emoly Liu
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/lu_object.h | 3 +-
.../lustre/lustre/include/lus
From: Emoly Liu
This patch fixes most of checkpatch occurences of
"CHECK: Alignment should match open parenthesis"
in Lustre code.
Signed-off-by: Emoly Liu
Signed-off-by: Oleg Drokin
---
.../staging/lustre/include/linux/libcfs/libcfs.h | 6 +-
.../lustre/include/linux/libcfs/libcfs_debug.
From: Al Viro
Signed-off-by: Al Viro
---
.../staging/lustre/include/linux/lnet/lib-types.h | 5 +---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h| 3 +-
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 32 --
.../staging/lustre/lnet/klnds/socklnd/socklnd.h|
From: Al Viro
Signed-off-by: Al Viro
---
.../lustre/lnet/klnds/socklnd/socklnd_lib.c| 29 --
1 file changed, 5 insertions(+), 24 deletions(-)
diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c
b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_li
cp_error member is not really set anywhere, so kill
it and the only printing user of it too.
Signed-off-by: Oleg Drokin
---
drivers/staging/lustre/lustre/include/cl_object.h | 2 --
drivers/staging/lustre/lustre/obdclass/cl_page.c | 4 ++--
2 files changed, 2 insertions(+), 4 deletions(-)
diff
if the name already exists, but we don't have write permissions
in the parent, force talking to the MDS to determine what
more sensical error code to return.
This also happens to fix matlab and other such programs that
assume that EEXIST is the only valid error code for mkdir of
an existing directo
From: Al Viro
Signed-off-by: Al Viro
---
.../lustre/lnet/klnds/socklnd/socklnd_lib.c| 38 ++
1 file changed, 10 insertions(+), 28 deletions(-)
diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c
b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_l
From: Emoly Liu
This patch fixes all checkpatch occurences of
"CHECK: Unnecessary parentheses around xxx"
in Lustre code.
Signed-off-by: Emoly Liu
Signed-off-by: Oleg Drokin
---
.../staging/lustre/lustre/include/lustre/lustre_user.h | 2 +-
drivers/staging/lustre/lustre/lov/lov_obd.c
From: Al Viro
Signed-off-by: Al Viro
---
drivers/staging/lustre/include/linux/lnet/types.h | 16 +
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 10 +--
.../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 16 ++---
.../lustre/lnet/klnds/socklnd/socklnd_lib.c| 42 +--
From: Al Viro
Signed-off-by: Al Viro
---
drivers/staging/lustre/lnet/lnet/lib-socket.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/lustre/lnet/lnet/lib-socket.c
b/drivers/staging/lustre/lnet/lnet/lib-socket.c
index 891fd59..4e6dd51
From: Al Viro
Signed-off-by: Al Viro
Signed-off-by: James Simmons
Signed-off-by: Oleg Drokin
---
.../staging/lustre/include/linux/lnet/lib-lnet.h | 57 +---
.../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 36 +--
drivers/staging/lustre/lnet/lnet/lib-move.c| 309 --
From: Al Viro
Signed-off-by: Al Viro
---
.../staging/lustre/include/linux/lnet/lib-lnet.h | 28 +++---
drivers/staging/lustre/lnet/lnet/lib-move.c| 20
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/drivers/staging/lustre/include/linu
From: Al Viro
Signed-off-by: Al Viro
---
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h
b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h
index d5efb42..84a915c 100644
--- a/driv
From: Al Viro
... by using ITER_BVEC recvmsg
Signed-off-by: Al Viro
---
.../staging/lustre/lnet/klnds/socklnd/socklnd.h| 6 +-
.../lustre/lnet/klnds/socklnd/socklnd_lib.c| 98 ++
2 files changed, 12 insertions(+), 92 deletions(-)
diff --git a/drivers/staging/l
From: Al Viro
Signed-off-by: Al Viro
---
.../lustre/lnet/klnds/socklnd/socklnd_lib.c| 22 +-
1 file changed, 5 insertions(+), 17 deletions(-)
diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c
b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_li
Here are some more Lustre cleanups.
The biggest of the bunch being Al Viro's work to convert
lnet to sendmsg and iovec iterators.
Also some style fixes.
Please consider.
Al Viro (10):
lustre: switch lnet_sock_write() to sock_sendmsg()
lustre: simplify the living hell out of ksocknal_lib_recv
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication
mechanism between the host and the guest. It's somewhat like TCP over
VMBus, but the transportation layer (VMBus) is much simpler than IP.
With Hyper-V Sockets, applications between the host and the guest can talk
to each other d
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication
mechanism between the host and the guest. It's somewhat like TCP over
VMBus, but the transportation layer (VMBus) is much simpler than IP.
With Hyper-V Sockets, applications between the host and the guest can talk
to each other d
Markus Mayer writes:
> After introducing generic strltolower() and strtolower(), spk_strlwr()
> is no longer needed.
>
> Signed-off-by: Markus Mayer
> Acked-by: Samuel Thibault
Acked-by: Chris Brannon
Haven't looked at much kernel code in a while, but this looks good.
-- Chris
_
After introducing generic strltolower() and strtolower(), spk_strlwr()
is no longer needed.
Signed-off-by: Markus Mayer
Acked-by: Samuel Thibault
---
drivers/staging/speakup/kobjects.c| 3 +--
drivers/staging/speakup/main.c| 3 ++-
drivers/staging/speakup/speakup.h | 1 -
dri
Add a collection of generic functions to convert strings to lowercase
or uppercase.
Changing the case of a string (with or without copying it first) seems
to be a recurring requirement in the kernel that is currently being
solved by several duplicated implementations doing the same thing. This
cha
This series introduces a family of generic string case conversion
functions. This kind of functionality is needed in several places in
the kernel. Right now, everybody seems to be implementing their own
copy of this functionality.
Based on the discussion of the previous version of this series[1] a
From: Haiyang Zhang
Added a condition to avoid bonding devices with same MAC registering
as VF.
Signed-off-by: Haiyang Zhang
Reviewed-by: K. Y. Srinivasan
---
drivers/net/hyperv/netvsc_drv.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/hyperv/netvsc_
The memory allocation in slic_init_adapter() can fail. Return an error in
this case and unwind properly. Also make sure that the allocated memory is
properly freed in case of an error in the calling probe() function.
By doing this also replace the alloc() followed by memset to zero the
memory with
There is no reason to delay tx queue activation until a link is detected.
So start the queue when the interface is brought up and stop it when the
interface is brought down.
Signed-off-by: Lino Sanfilippo
---
drivers/staging/slicoss/slicoss.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletio
Notify the network stack about link states via netif_carrier_[off|on]().
Also set the link state off initially and when the interface is brought
down.
Signed-off-by: Lino Sanfilippo
---
drivers/staging/slicoss/slicoss.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/staging/
From: Lino Sanfilippo
Writes to registers should be done uncached for various reasons. Ensure
this by replacing ioremap() with ioremap_nocache().
Signed-off-by: Lino Sanfilippo
---
drivers/staging/slicoss/slicoss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/sta
Use the new register accessors that use offsets instead of the slic_regs
structure to read/write registers. Since not longer needed remove the
structure completley.
Signed-off-by: Lino Sanfilippo
---
drivers/staging/slicoss/slic.h| 1 -
drivers/staging/slicoss/slichw.h | 219 -
Hi,
this patch series tries to get the slicoss driver code closer to a state in
which it is ready to be moved out of staging.
Patch 1 is a resend of patch I sent a week ago and handles an allocation
failure in slic_init_adapter().
Patch 2 fixes link state notification.
Patch 3 turns the mapping
Merge several structures for statistics to one structure and remove
unnecessary union nesting.
Signed-off-by: Lino Sanfilippo
---
drivers/staging/slicoss/slic.h| 18 +
drivers/staging/slicoss/slichw.h | 79 ---
drivers/staging/slicoss/slicoss.c |
Remove the volatile specifiers of struct slic_shmem. Furthermore store the
bus addresses for the isr pointer, link status and statistics separately
and access the upper and lower word of these addresses by means of
[lower|upper]_32_bits(). By doing this take the endianness into account.
Signed-off
Introduce accessor functions that read and write registers by using a
register offset.
This is in preparation to replace the register addressing by means of the
slic_regs struct with an addressing by means of offsets.
Signed-off-by: Lino Sanfilippo
---
drivers/staging/slicoss/slic.h| 24 +++
Introduce the function slic_flush_write() which reads from the HOSTID
register and can be used to avoid PCI write posting. Use the function at
several critical places in the code.
Signed-off-by: Lino Sanfilippo
---
drivers/staging/slicoss/slic.h| 5 +
drivers/staging/slicoss/slicoss.c |
Hi
On 2016-07-22, Arnd Bergmann wrote:
> On Friday, July 22, 2016 7:55:36 AM CEST Jes Sorensen wrote:
> > Stefan Lippers-Hollmann writes:
> > > On 2016-07-20, Arnd Bergmann wrote:
> > >> On Wednesday, July 20, 2016 11:33:43 AM CEST Jes Sorensen wrote:
> > >> > Arnd Bergmann writes:
> >
On Friday, July 22, 2016 7:55:36 AM CEST Jes Sorensen wrote:
> Stefan Lippers-Hollmann writes:
> > Hi
> >
> > On 2016-07-20, Arnd Bergmann wrote:
> >> On Wednesday, July 20, 2016 11:33:43 AM CEST Jes Sorensen wrote:
> >> > Arnd Bergmann writes:
> >> > > On Wednesday, July 20, 2016 7:25:19 AM CE
On 22/07/16 16:29, Cheah Kok Cheong wrote:
Use macro introduced in commit 939f325f4a0f
("usb: add usb_endpoint_maxp() macro")
Signed-off-by: Cheah Kok Cheong
---
drivers/staging/comedi/drivers/dt9812.c | 4 ++--
drivers/staging/comedi/drivers/ni_usb6501.c | 4 ++--
drivers/staging/comedi
Use macro introduced in commit 939f325f4a0f
("usb: add usb_endpoint_maxp() macro")
Signed-off-by: Cheah Kok Cheong
---
drivers/staging/comedi/drivers/dt9812.c | 4 ++--
drivers/staging/comedi/drivers/ni_usb6501.c | 4 ++--
drivers/staging/comedi/drivers/vmk80xx.c| 12 ++--
3 fi
Hi,
[auto build test ERROR on staging/staging-testing]
[also build test ERROR on next-20160722]
[cannot apply to v4.7-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/James-Simmons/staging
Stefan Lippers-Hollmann writes:
> Hi
>
> On 2016-07-20, Arnd Bergmann wrote:
>> On Wednesday, July 20, 2016 11:33:43 AM CEST Jes Sorensen wrote:
>> > Arnd Bergmann writes:
>> > > On Wednesday, July 20, 2016 7:25:19 AM CEST Jes Sorensen wrote:
>> > >> Arnd Bergmann writes:
> [...]
>> Yes, I w
SF Markus Elfring writes:
> The video_unregister_device() function tests whether its argument is NULL
> and then returns immediately. Thus the test around the call is not needed.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring
> ---
> drivers/stag
if immediate return statement is found. It also removes variable
bytes_written as
it is no longer needed.
It is done using script Coccinelle. And coccinelle uses following
semantic
patch for this compression function:
@@
expression ret;
identifier f;
@@
-ret =
+return
f(...);
-return ret;
This driver will be removed in 4.8, so I won't take this patch.
Regards,
Hans
On 07/20/2016 08:47 PM, Jeremiah Goerdt wrote:
> Cleaned up checkpatch.pl warnings and checks.
>
> Signed-off-by: Jeremiah Goerdt
> ---
> drivers/staging/media/timb/timblogiw.c | 134
> -
On Fri, Jul 22, 2016 at 09:36:53AM +0200, SF Markus Elfring wrote:
> >> I guess that further clarification might be needed for affected
> >> implementation details.
> >
> > That's OK, too.
> >
> > Acked-by: Wolfram Sang
>
> Does this acknowledgement include also the acceptance for
> the suggest
>> I guess that further clarification might be needed for affected
>> implementation details.
>
> That's OK, too.
>
> Acked-by: Wolfram Sang
Does this acknowledgement include also the acceptance for
the suggested change around calls of the functions "sdio_claim_host"
and "sdio_release_host" wit
44 matches
Mail list logo