Re: [PATCH] staging: comedi: amcc_s5933.h: tidy up comment issues

2016-04-12 Thread Ian Abbott
On 11/04/16 19:23, H Hartley Sweeten wrote: Tidy up the comments to fix the checkpatch.pl isses: WARNING: Block comments use * on subsequent lines WARNING: line over 80 characters Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/amcc_

Re: [PATCH] staging: comedi: plx9080.h: rename CamelCase enum value

2016-04-12 Thread Ian Abbott
On 11/04/16 19:18, H Hartley Sweeten wrote: Rename the enum value to fix the checkpatch.pl issue: CHECK: Avoid CamelCase: Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/plx9080.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

Re: [PATCH] staging: comedi: comedi_8254.h: tidy up the register map defines

2016-04-12 Thread Ian Abbott
On 11/04/16 19:32, H Hartley Sweeten wrote: Tidy up the defines to fix the checkpatch.pl issues: CHECK: Prefer using the BIT macro Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/comedi_8254.h | 14 -- 1 file changed, 8

Re: [PATCH 0/3] staging: comedi: ni_stc.h: fix checkpatch.pl issues

2016-04-12 Thread Ian Abbott
On 11/04/16 19:12, H Hartley Sweeten wrote: Fix the checkpatch.pl issues in this file. H Hartley Sweeten (3): staging: comedi: ni_stc.h: Prefer 'unsigned int' to bare use of 'unsigned' staging: comedi: ni_stc.h: Prefer kernel type 'u8' over 'uint8_t' staging: comedi: ni_stc.h: tidy up b

[PATCH] staging: lustre: libcfs: Fix libcfs_ioctl() prototype.

2016-04-12 Thread Aleksei Fedotov
Fix libcfs_ioctl() prototype according to its definition in libcfs/module.c. Signed-off-by: Aleksei Fedotov --- drivers/staging/lustre/include/linux/libcfs/libcfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs.h b/drivers

[PATCH] Staging: rtl8723au: removes void pointer in rtw_security.c

2016-04-12 Thread Ben Marsh
Remove a void pointer in rtw_security.c Signed-off-by: Ben Marsh --- drivers/staging/rtl8723au/core/rtw_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/core/rtw_security.c b/drivers/staging/rtl8723au/core/rtw_security.c index 038b57b..9d2

Re: [PATCH] Staging: rtl8723au: removes void pointer in rtw_security.c

2016-04-12 Thread Greg KH
On Tue, Apr 12, 2016 at 01:30:55PM +0200, Ben Marsh wrote: > Remove a void pointer in rtw_security.c That's not what the patch does :( ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev

[PATCH v2 1/2] staging: lustre: selftest: convert lstcon_test_t to proper struct

2016-04-12 Thread James Simmons
Turn typedef lstcon_test_t to proper structure Signed-off-by: James Simmons --- drivers/staging/lustre/lnet/selftest/conctl.c |2 +- drivers/staging/lustre/lnet/selftest/conrpc.c |5 ++- drivers/staging/lustre/lnet/selftest/console.c | 26 drivers/staging/lus

[PATCH v2 2/2] staging: lustre: selftest: convert wire protocol to use struct

2016-04-12 Thread James Simmons
Change all the wire protocol typedefs to proper structures Signed-off-by: James Simmons --- drivers/staging/lustre/lnet/selftest/brw_test.c | 22 ++-- drivers/staging/lustre/lnet/selftest/conrpc.c| 44 +++--- drivers/staging/lustre/lnet/selftest/console.c | 10 +- drivers/staging/lu

[PATCH v2 0/2] staging: lustre: selftest: remove typedefs

2016-04-12 Thread James Simmons
Convert the remaining typedefs into their proper data types. Changelog: v1) Based on 4.6-rc1 staging tree. Most patches were merged. v2) Rebased on 4.6-rc3 due to PAGE_CACHE_* going away. James Simmons (2): staging: lustre: selftest: convert lstcon_test_t to proper struct staging: lustre: s

Re: [PATCH] staging: lustre: libcfs: Fix libcfs_ioctl() prototype.

2016-04-12 Thread James Simmons
> Fix libcfs_ioctl() prototype according to its definition in > libcfs/module.c. > > Signed-off-by: Aleksei Fedotov Acked-by: James Simmons > --- > drivers/staging/lustre/include/linux/libcfs/libcfs.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/l

Re: [PATCH 18/18] staging: lustre: osc: Lustre returns EINTR from writes when SA_RESTART is set

2016-04-12 Thread James Simmons
> Some of this series didn't apply, due to merge issues with 4.6-rc3. Can > you rebase and resend the remaining patches? This patch conflicts with a patch landed from Oleg which is a better solution for this bug. We can drop this patch. > > thanks, > > greg k-h > > On Mon, Apr 04, 2016 at 0

[PATCH v2 00/16] staging : lustre : rest of missing patches from 2.5.0 release

2016-04-12 Thread James Simmons
This is the last collection of missing fixes present in the Lustre 2.5.0 release. Once these are merged the upstream client will be equal to the pre-2.6 lustre version since the major of clio cleanups from that time frame have already landed. changelog: v1) Based on 4.6-rc1. v2) Rebased for 4.6-

[PATCH v2 01/16] staging: lustre: osc: fix race issues thanks to oap_lock

2016-04-12 Thread James Simmons
From: Sebastien Buisson Fix 'data race condition' defects found by Coverity version 6.5.0: Data race condition (MISSING_LOCK) Accessing variable without holding lock. Elsewhere, this variable is accessed with lock held. This patch is dedicated to code fragments involving oap_lock. Signed-off-

[PATCH v2 02/16] staging: lustre: clio: incorrect assertions in 'enable-invariants'

2016-04-12 Thread James Simmons
From: Niu Yawei Fixed several incorrect assumptions in 'enable-invariants'. Signed-off-by: Niu Yawei Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3521 Reviewed-on: http://review.whamcloud.com/6832 Reviewed-by: Bobi Jam Reviewed-by: Jinshan Xiong Reviewed-by: Oleg Drokin Signed-off-by:

[PATCH v2 11/16] staging: lustre: osc: osc_extent_wait() shouldn't be interruptible

2016-04-12 Thread James Simmons
From: Jinshan Xiong Otherwise it will hit the assertion at cl_lock.c: cl_lock.c:1967:discard_cb()) ASSERTION( (!(page->cp_type == CPT_CACHEABLE) || (!PageWriteback(cl_page_vmpage(env, page ) failed: This is because in osc_lock_flush() we have to make sure the IO is finished before disc

[PATCH v2 07/16] staging: lustre: llite: error setting max_cache_mb at mount time

2016-04-12 Thread James Simmons
From: Jinshan Xiong The root cause is that when max_cache_mb conf parameter is applied, the client isn't connected to the OST yet so that sbi->ll_dt_exp is NULL. However, it's not necessary to shrink the cache memory in this case so success should be returned. Signed-off-by: Jinshan Xiong Intel

[PATCH v2 06/16] staging: lustre: llite: speedup in unlink/rmdir

2016-04-12 Thread James Simmons
From: Andrew Perepechko Assume dchild argument is fully initialized in ->unlink and ->rmdir callbacks, so additional lookup for ELC is not needed. Signed-off-by: Andrew Perepechko Reviewed-by: Alexander Boyko Reviewed-by: Vitaly Fertman Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3473

[PATCH v2 08/16] staging: lustre: obd: MDT mount fails on MDS w/o MGS on it

2016-04-12 Thread James Simmons
From: Bobi Jam If we specify multiple --mgsnode for a MDT, when we start MDS upon it while MGS is no the other node, the MGC import connection will always select the local nid (which is one of the candidate mgsnode) since it think its the closest connection. This patch treats further --mgsnode n

[PATCH v2 14/16] staging: lustre: lov: Don't wait for active target with OBD_STATFS_NODELAY

2016-04-12 Thread James Simmons
From: Andriy Skulysh Patch for LU-631 which was landed before the upstream merge broke OBD_STATFS_NODELAY behaviour. It adds unnecessary delay while running df command with inactive OSTs. We shouldn't try to recover connection to OST in this case. Signed-off-by: Andriy Skulysh Intel-bug-id: htt

[PATCH v2 12/16] staging: lustre: lprocfs: implement log2 using bitops

2016-04-12 Thread James Simmons
From: Andrew Perepechko This patch implements log2 using fls. Signed-off-by: Andrew Perepechko Reviewed-by: Alexander Boyko Reviewed-by: alexander_zarochent...@xyratex.com Reviewed-by: Vitaly Fertman Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3496 Xyratex-bug-id: MRP-999 Reviewed-on:

[PATCH v2 09/16] staging: lustre: ptlrpc: return a meaningful status from ptlrpcd_init()

2016-04-12 Thread James Simmons
From: Swapnil Pimpale This patch has the following: 1) Fix for the return value from ptlrpcd_init(). It will now return a correct status instead of returning zero always. 2) ptlrpcd_addref() should not increment ptlrpcd_users on error. 3) Added code in a mdc_setup() and mgc_setup() to test the

[PATCH v2 13/16] staging: lustre: lov: return minimal FIEMAP for released files

2016-04-12 Thread James Simmons
From: Bruno Faccini Since st_blocks = NULL is returned for released files, FIEMAP should at least return a minimal mapping to make users aware that file contains data but it is not immediately available. This will make coreutils and tools such tar happy and have them presume file is sparse. Also

[PATCH v2 15/16] staging: lustre: hsm: permission checks for HSM ioctl operations

2016-04-12 Thread James Simmons
From: John L. Hammond In the LL_IOC_HSM_CT_START case of ll_dir_ioctl() require CAP_SYS_ADMIN, since the local handler for this ioctl may modify the global KUC table. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3866 Reviewed-on: http://review.whamcloud.com

[PATCH v2 16/16] staging: lustre: hsm: don't use real suppgid

2016-04-12 Thread James Simmons
From: John L. Hammond In the MDC HSM handlers that do not pack a real suppgid, use -1 rather than 0 for the suppgid in mdt_body. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3866 Reviewed-on: http://review.whamcloud.com/7565 Reviewed-by: Aurelien Degremont

[PATCH v2 05/16] staging: lustre: llite: variable rename in namei.c

2016-04-12 Thread James Simmons
From: Andrew Perepechko With the patch 6648 a fee variables were renamed. We do these renames in broken out patch to the fix obvious. Signed-off-by: Andrew Perepechko Reviewed-by: Alexander Boyko Reviewed-by: Vitaly Fertman Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3473 Xyratex-bug-

[PATCH v2 04/16] staging: lustre: ldlm: refine LU-2665 patch for POSIX compliance

2016-04-12 Thread James Simmons
From: Bruno Faccini Follow-on to patch introduced to fix LU-2665 ticket (Gerrit Change at http://review.whamcloud.com/6415 with Change-Id: I8faa331712abeadee46eabe111ee1c23a05840d5). Original patch introduced regressions against POSIX test suite (fcntl.18/fcntl.35 tests in LSB-VSX POSIX test suit

[PATCH v2 10/16] staging: lustre: llite: Truncate to restore file

2016-04-12 Thread James Simmons
From: Jinshan Xiong Truncate up is safe so it won't trigger restore. Copy optimization for truncate down - only copy the part under truncate length. If a file is truncated to zero usually it'll be followed by write so I choose to restore the file and set correct stripe information. Signed-off-b

[PATCH v2 03/16] staging: lustre: ldlm: Fix a race during FLock handling

2016-04-12 Thread James Simmons
From: Bruno Faccini Protect against race where lock could have been just destroyed due to overlap, in ldlm_process_flock_lock(). Easy reproducer is BULL's NFS Locktests in pthread mode. (http://nfsv4.bullopensource.org/tools/tests/locktest.php) Signed-off-by: Bruno Faccini Intel-bug-id: https:/

Staging: lustre: Make lustre_profile_list static

2016-04-12 Thread Iban Rodriguez
Variable lustre_profile_list is only used inside obd_config.c, better make it static Signed-off-by: Iban Rodriguez --- drivers/staging/lustre/lustre/obdclass/obd_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/obdclass/obd_config.c b/dr

[PATCH 14/19] staging: comedi: ni_mio_common: tidy up ni_gpct_write_register()

2016-04-12 Thread H Hartley Sweeten
The 'bits' value passed to this function is properly set by the callers so the BUG_ON() can never occur when writing to the NITIO_G[01]_INT_ENA and NITIO_G01_RESET registers. Remove the BUG_ON() checks. For aesthetic, also remove the static const variables. They don't add any additional clarity.

[PATCH 16/19] staging: comedi: ni_mio_common: remove 'fudge_factor_80_to_20Mhz'

2016-04-12 Thread H Hartley Sweeten
For aesthetics, remove this local variable to fix the checkpatch.pl issue: CHECK: Avoid CamelCase: Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a

[PATCH 03/19] staging: comedi: ni_mio_common: tidy up mite dma channel releases

2016-04-12 Thread H Hartley Sweeten
Absorb the inline helper functions that call ni_set_bitfield() to clear the dma channel selection bits. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c | 35 ++ 1 file changed, 8 insertions(+), 27

[PATCH 10/19] staging: comedi: ni_mio_common: fix logical continuations

2016-04-12 Thread H Hartley Sweeten
Fix the checkpatch.pl issues: CHECK: Logical continuations should be on the previous line Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --gi

[PATCH 18/19] staging: comedi: mite.h: rename CHSR_LxERR_mask

2016-04-12 Thread H Hartley Sweeten
Fix the checkpatch.pl issue: CHECK: Avoid CamelCase: Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/mite.h | 2 +- drivers/staging/comedi/drivers/ni_mio_common.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) dif

[PATCH 12/19] staging: comedi: ni_mio_common: tidy up AO trigger selection

2016-04-12 Thread H Hartley Sweeten
The AO subdevice (*cancel), ni_ao_reset(), always sets the private data 'ao_trigger_select' to 0. So when a command is started the 'trigsel' value in ni_ao_cmd_set_trigger() will always start as 0. Remove the unnecessary member from the private data. The (*do_cmdtest) validates that the cmd->start

[PATCH 01/19] staging: comedi: ni_mio_common: remove some unnecessary BUG_ON()

2016-04-12 Thread H Hartley Sweeten
The mite dma channels are only requested by a subdevice with a (*do_cmd) and they are released by a (*cancel). The comedi core will only call the (*do_cmd) if the subdevice is not already running a command and all commands are terminated by the core with a (*cancel). Remove the BUG_ON() checks in

[PATCH 06/19] staging: comedi: ni_mio_common: use 'unsigned int' instead of kernel types

2016-04-12 Thread H Hartley Sweeten
Generally comedi drivers use 'unsigned int' types instead of the kernel type 'u32' for unsigned 32-bit values. For aesthetics, change all the 'u32' and 'uin32_t' types and fix the checkpatch.pl issues about: CHECK: Prefer kernel type 'u32' over 'uint32_t' The various i/o helpers use for reading a

[PATCH 02/19] staging: comedi: ni_mio_common: tidy up mite dma channel requests

2016-04-12 Thread H Hartley Sweeten
Tidy up the functions that request the mite dma channels by absorbing the inline helper functions that call ni_set_bitfield() to set the channel selection bits. Add support for the NI_M_CDIO_DMA_SEL_REG register to ni_set_bitfield() so that all the soft_reg_copy_lock spinlocking is done in one pla

[PATCH 19/19] staging: comedi: ni_mio_common: introduce NI_STC_DMA_CHAN_SEL()

2016-04-12 Thread H Hartley Sweeten
The inline helper ni_stc_dma_channel_select_bitfield() returns the bits needed to select a MITE channel to use for DMA. The MITE code is setup to handle up to 8 channels but in reality only channels 0 to 3 are used by most of the drivers. The PCI-6032E and PCI-6033E boards can also use channels 4 a

[PATCH 00/19] staging: comedi: ni_mio_common: initial cleanup

2016-04-12 Thread H Hartley Sweeten
This "driver" is is bit of a mess. It's included by the ni_atmio, ni_mio_cs, and ni_pcimio drivers instead of being a separate module. Do some cleanup so I can work out what is needed to make it a module. This fixes all the checkpatch.pl issues except for two: CHECK: if this code is redundant con

[PATCH 17/19] staging: comedi: ni_mio_common: fix CamelCase in ni_serial_hw_readwrite8()

2016-04-12 Thread H Hartley Sweeten
Fix the checkpatch.pl issue: CHECK: Avoid CamelCase: Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_mio_common

[PATCH 15/19] staging: comedi: ni_mio_common: usleep_range is preferred over udelay

2016-04-12 Thread H Hartley Sweeten
Fix the checkpatch.pl issues. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b/drivers/staging/come

[PATCH 04/19] staging: comedi: ni_mio_common: tidy up DIO subdevice ifdef'ery

2016-04-12 Thread H Hartley Sweeten
This file is is bit of a mess. It's included by the ni_atmio, ni_mio_cs, and ni_pcimio drivers. The ni_pcimio driver is the only one that uses DMA. It defines PCIDMA so that the dma code is compiled it. This causes a bunch of ifdef'ery in the file. The DIO subdevice for the ni_pcidio "is_m_series"

[PATCH 13/19] staging: comedi: ni_mio_common: tidy up AO scan begin

2016-04-12 Thread H Hartley Sweeten
The (*do_cmdtest) validates that the cmd->scan_begin_src will only be TRIG_TIMER or TRIG_EXT. Refactor ni_ao_cmd_set_update() and remove the BUG() which can never occur. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c |

[PATCH 08/19] staging: comedi: ni_mio_common: fix lines over 80 characters

2016-04-12 Thread H Hartley Sweeten
Fix the checkpatch.pl issues. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c | 78 -- 1 file changed, 49 insertions(+), 29 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_mio_common.

[PATCH 11/19] staging: comedi: ni_mio_common: convert NI_GPCT_SUBDEV to a macro

2016-04-12 Thread H Hartley Sweeten
The 'counter_index' is always in range (0 to < NUM_GPCT, which is 2). For aesthetics, convert this inline function into a macro and remove the BUG() which can never occur. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c

[PATCH 09/19] staging: comedi: ni_mio_common: multiple assignments should be avoided

2016-04-12 Thread H Hartley Sweeten
Fix the checkpatch.pl issues. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b/drivers/staging/come

[PATCH 05/19] staging: comedi: ni_mio_common: Prefer 'unsigned int' to bare use of 'unsigned'

2016-04-12 Thread H Hartley Sweeten
Fix the checkpatch.pl issues. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c | 172 + 1 file changed, 90 insertions(+), 82 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_mio_common.

[PATCH 07/19] staging: comedi: ni_mio_common: tidy up block comments

2016-04-12 Thread H Hartley Sweeten
Fix the checkpatch.pl issues. WARNING: Block comments use * on subsequent lines Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c | 211 ++--- 1 file changed, 117 insertions(+), 94 deletions(-) diff --

Re: [PATCH v5 34/50] mtd: nand: gpmi: switch to mtd_ooblayout_ops

2016-04-12 Thread Boris Brezillon
On Tue, 12 Apr 2016 22:27:58 + Han Xu wrote: > > I am fine with all gpmi patch set and tested on i.MX6Q, just found another > issue in gpmi driver. > The patch was sent, refer to https://patchwork.ozlabs.org/patch/609755/ Oh, was it related to the changes introduced by this series? > >

[PATCH] Staging: Fixed coding style warning

2016-04-12 Thread Panos Vlachos
Fixed coding style warning Signed-off-by: Panos Vlachos --- drivers/staging/lustre/lnet/lnet/nidstrings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/lnet/nidstrings.c b/drivers/staging/lustre/lnet/lnet/nidstrings.c index ebf468f..f532e44 1006

Re: [PATCH] Staging: Fixed coding style warning

2016-04-12 Thread Greg KH
On Wed, Apr 13, 2016 at 03:10:45AM +0300, Panos Vlachos wrote: > Fixed coding style warning What warning? And always put the driver name in the subject so we know where to merge this to. And finally, use get_maintainer.pl to determine who to send this to. thanks, greg k-h _

[PATCH 1/2] staging/lustre: Fix blank line after/before {/} style

2016-04-12 Thread green
From: Oleg Drokin This patch fixes all checkpatch occurences of CHECK: Blank lines aren't necessary after an open brace '{' CHECK: Blank lines aren't necessary before a close brace '}' in Lustre code. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/fld/fld_request.c | 1 - dri

[PATCH 0/2] Couple of lustre cleanups

2016-04-12 Thread green
From: Oleg Drokin These are rebased cleanups from before - style fixes and suppressign a spurious message. Bobi Jam (1): staging/lustre/llite: suppress non active IO error message Oleg Drokin (1): staging/lustre: Fix blank line after/before {/} style drivers/staging/lustre/lustre/fld/fld_

[PATCH 2/2] staging/lustre/llite: suppress non active IO error message

2016-04-12 Thread green
From: Bobi Jam Current CLIO does not support fadvise, suppress the error message. Signed-off-by: Bobi Jam Reviewed-on: http://review.whamcloud.com/9658 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4717 Reviewed-by: Jinshan Xiong Reviewed-by: Andreas Dilger Signed-off-by: Oleg Drokin -

Re: [PATCH] Staging: Fixed coding style warning

2016-04-12 Thread Joe Perches
On Wed, 2016-04-13 at 03:10 +0300, Panos Vlachos wrote: > Fixed coding style warning [] > diff --git a/drivers/staging/lustre/lnet/lnet/nidstrings.c > b/drivers/staging/lustre/lnet/lnet/nidstrings.c [] > @@ -197,7 +197,7 @@ add_nidrange(const struct cfs_lstr *src, >   struct netstrfns *nf; >