[PATCH] Staging: media: davinci_vpfe: Fix spelling error on a comment

2016-03-07 Thread Manuel Rodriguez
Fix spelling error on a comment, change 'wether' to 'whether' Signed-off-by: Manuel Rodriguez --- drivers/staging/media/davinci_vpfe/vpfe_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.c

[PATCH V4] staging: rtl8192u: check return value of read_nic_word_E

2016-03-07 Thread Salah Triki
The call of read_nic_word_E may fail, therefore its return value must be checked. Signed-off-by: Salah Triki --- drivers/staging/rtl8192u/r8180_93cx6.c | 30 +-- drivers/staging/rtl8192u/r8180_93cx6.h | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 157

RE: [PATCH] scsi: storvsc: fix SRB_STATUS_ABORTED handling

2016-03-07 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Monday, March 7, 2016 3:00 AM > To: linux-s...@vger.kernel.org > Cc: linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; KY > Srinivasan ; Haiyang Zhang >

[PATCH] staging: wilc1000: use mutex instead of semaphore sem_cfg_values

2016-03-07 Thread Chaehyun Lim
This patch replaces struct semaphore sem_cfg_values with struct mutex cfg_values_lock. It is better to use mutex than semaphore. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 10 +- drivers/staging/wilc1000/host_interface.h | 2 +-

[PATCH v2 2/9] staging: lustre: LNet network latency simulation

2016-03-07 Thread James Simmons
From: Liang Zhen Incoming lnet message can be delayed for seconds if it can match any of LNet Delay Rules. User can add/remove/list Delay Rule by lctl commands: - lctl net_delay_add Add a new Delay Rule to LNet, options <-s | --source SRC_NID> <-d | --dest DST_NID>

[PATCH v2 9/9] staging: lustre: make LNet use lprocfs_call_handler

2016-03-07 Thread James Simmons
Sometime ago a patch was submitted to duplicate the proc_call_handler code in the LNet layer. This was due to the thinking libcfs was not used by the LNet layer. This was a wrong assumption so lets make LNet use the lprocfs_call_handler from the libcfs layer. Signed-off-by: James Simmons

[PATCH v2 1/9] staging: lustre: LNet drop rule implementation

2016-03-07 Thread James Simmons
From: Liang Zhen This is implementation of LNet Drop Rule, which can randomly drop LNet messages at specified rate. LNet Drop Rule can only be applied to receive side of message. User can add drop_rule either on end point of cluster (client/server) or on LNet routers.

[PATCH v2 7/9] staging: lustre: change test to assert in LNetGetId

2016-03-07 Thread James Simmons
The ln_refcount test was changed into an assert. Signed-off-by: James Simmons --- drivers/staging/lustre/lnet/lnet/api-ni.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c

[PATCH v2 8/9] staging: lustre: rename proc_call_handler to lprocfs_call_handler

2016-03-07 Thread James Simmons
Using proc_call_handler as a function name is way too generic. Rename to lprocfs_call_handler to avoid possible collisions. Signed-off-by: James Simmons --- drivers/staging/lustre/lustre/libcfs/module.c | 18 +- 1 files changed, 9 insertions(+), 9

[PATCH v2 6/9] staging: lustre: Correct missing newline

2016-03-07 Thread James Simmons
From: James Nunez Several error messages are missing newline characters at the end of the message. Newlines are added where necessary and other minor corrections; no punctuation at the end of an error message, add a return code to the end of error messages, device name

[PATCH v2 5/9] staging: lustre: fix 'data race condition' issue in framework.c

2016-03-07 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. Signed-off-by: Sebastien Buisson

[PATCH v2 4/9] staging: lustre: fix 'NULL pointer dereference' errors

2016-03-07 Thread James Simmons
From: Sebastien Buisson Fix 'NULL pointer dereference' defects found by Coverity version 6.5.3: Dereference after null check (FORWARD_NULL) For instance, Passing null pointer to a function which dereferences it. Dereference before null check (REVERSE_INULL) Null-checking

[PATCH v2 0/9] Last batch of fixes for LNet

2016-03-07 Thread James Simmons
This batch merges the remaining LNet patches from the OpenSFS branch for the upstream client. Once merged the LNet code will be up to date with the latest production code. Only style issues are remaining. Still future patches being developed for LNet will be landed to the upstream client as soon

[PATCH v2 3/9] staging: lustre: fix 'data race condition' issue in conrpc.c

2016-03-07 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. Signed-off-by: Sebastien Buisson

Re: [PATCH net-next] hv_netvsc: Move subchannel waiting to rndis_filter_device_remove()

2016-03-07 Thread David Miller
From: Haiyang Zhang Date: Fri, 4 Mar 2016 15:07:43 -0800 > During hot add, vmbus_device_register() is called from vmbus_onoffer(), on > the same workqueue as the subchannel offer message work-queue, so > subchannel offer won't be processed until the

RE: [lustre-devel] [PATCH 00/10] Last batch of fixes for LNet

2016-03-07 Thread Simmons, James A.
>On Fri, Mar 04, 2016 at 09:09:40PM -0500, James Simmons wrote: >> This batch merges the remaining LNet patches from the OpenSFS >> branch for the upstream client. Once merged the LNet code >> will be up to date with the latest production code. Only style >> issues are remaining. Still future

Re: [PATCH v4 48/52] mtd: nand: vf610: switch to mtd_ooblayout_ops

2016-03-07 Thread Stefan Agner
On 2016-03-07 01:47, Boris Brezillon wrote: > Implementing the mtd_ooblayout_ops interface is the new way of exposing > ECC/OOB layout to MTD users. Hi Boris, Tested this revision, works out of the box now! Thanks! Tested-by: Stefan Agner Acked-by: Stefan Agner

Re: [PATCH] Staging: most: Remove check for __cplusplus in headers

2016-03-07 Thread Greg KH
On Sun, Mar 06, 2016 at 03:50:16PM +0530, PrasannaKumar Muralidharan wrote: > From: PrasannaKumar Muralidharan > > Signed-off-by: PrasannaKumar Muralidharan I can't take a patch without any changelog entry :(

[PATCH 5/6] staging: unisys: visorbus: Cleanup bus_epilog goto statements

2016-03-07 Thread David Kershner
Cleaned up bus_epilogs vague gotos and in the process discovered some error paths could unlock a non locked semaphore. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 18

[PATCH 0/6] staging: unisys: visorbus: cleanup gotos in visorchipset.c

2016-03-07 Thread David Kershner
This patch series cleans up the gotos in visobus/visorchipset.c David Kershner (6): staging: unisys: visorbus: get rid of gotos in intialize_controlvm_payload_info staging: unisys: visorbus: cleanup gotos in parser_init_byte_stream staging: unisys: visorbus: chipset_init rename goto

[PATCH 1/6] staging: unisys: visorbus: get rid of gotos in intialize_controlvm_payload_info

2016-03-07 Thread David Kershner
Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 30 -- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git

[PATCH 2/6] staging: unisys: visorbus: cleanup gotos in parser_init_byte_stream

2016-03-07 Thread David Kershner
Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 39 ++ 1 file changed, 15 insertions(+), 24 deletions(-) diff --git

[PATCH 3/6] staging: unisys: visorbus: chipset_init rename goto

2016-03-07 Thread David Kershner
Change the goto label "cleanup" to something more useful like out_respond. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 4/6] staging: unisys: visorbus: Cleanup goto in bus_create

2016-03-07 Thread David Kershner
Rename it to what it does instead of the default ambiguous cleanup. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)

[PATCH 6/6] staging: unisys: visorbus: fix my_create_device goto statements

2016-03-07 Thread David Kershner
Don't use the abmiguous cleanup, make it more meaningful. Signed-off-by: David Kershner Signed-off-by: Timothy Sell --- drivers/staging/unisys/visorbus/visorchipset.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

FBI LETTER[CODE:210[m]

2016-03-07 Thread JAMES COMEY[F.B.I]
JAMES BRIEN COMEY EXECUTIVE DIRECTOR FBI FEDERAL BUREAU OF INVESTIGATION FBI.WASHINGTON D.C FEDERAL BUREAU OF INVESTIGATION SEEKING TO WIRETAP The Federal bureau of investigation (FBI) Washington,D.C in conjunction with some other relevant Investigations Agencies have recently been informed

Re: [PATCH] rtlwifi: Fix size of wireless mode variable

2016-03-07 Thread Larry Finger
On 03/07/2016 06:38 AM, Kalle Valo wrote: Larry Finger writes: Smatch reports the following warning: CHECK drivers/net/wireless/realtek/rtlwifi/rc.c drivers/net/wireless/realtek/rtlwifi/rc.c:144 _rtl_rc_rate_set_series() warn: impossible condition

Re: [PATCH] rtlwifi: Fix size of wireless mode variable

2016-03-07 Thread Kalle Valo
Larry Finger writes: > Smatch reports the following warning: > > CHECK drivers/net/wireless/realtek/rtlwifi/rc.c > drivers/net/wireless/realtek/rtlwifi/rc.c:144 _rtl_rc_rate_set_series() warn: > impossible condition '(wireless_mode == 256) => (0-255 == 256)' > >

Re: rtlwifi: Change long delays to sleeps

2016-03-07 Thread Kalle Valo
> Routine rtl_addr_delay() uses delay statements in code that can > sleep. To improve system responsiveness, the various delay statements > are changed. > > In addition, routines rtl_rfreg_delay() and rtl_bb_delay() are > rewritten to use the code in rtl_addr_delay() for most of their > input

Re: rtlwifi: rtl8821ae: Silence useless log output

2016-03-07 Thread Kalle Valo
> When driver rtl8821ae is loaded but not connected to any AP, it logs > a "firmware not ready to run" message roughly once a minute. To > eliminate logging this massage under normal debug conditions, the > degug level needed to print this message is increased. > > Signed-off-by: Larry Finger

Business: "PARTNERSHIP FINANCING"

2016-03-07 Thread The FINANCIAL CONSORTIUM
The Managing Director, Chief Executive Officer. Sir/Madam, Are you a business or individual looking to inject funds into developing or starting a new business? I would like to take this brief opportunity to advise you that I have certain amount for immediate Investment in your country. The

[PATCH] scsi: storvsc: fix SRB_STATUS_ABORTED handling

2016-03-07 Thread Vitaly Kuznetsov
Commit 3209f9d780d1 ("scsi: storvsc: Fix a bug in the handling of SRB status flags") filtered SRB_STATUS_AUTOSENSE_VALID out effectively making the (SRB_STATUS_ABORTED | SRB_STATUS_AUTOSENSE_VALID) case a dead code. The logic from this branch (e.g. storvsc_device_scan() call) is still required,

Re: [PATCH] Staging: most: Remove check for __cplusplus in headers

2016-03-07 Thread PrasannaKumar Muralidharan
The git commit message appeared as email subject so I assumed that would suffice. Wondering if that would be required. Will add if it is required. Thanks, PrasannaKumar ___ devel mailing list de...@linuxdriverproject.org

[PATCH v4 52/52] mtd: kill the nand_ecclayout struct

2016-03-07 Thread Boris Brezillon
Now that all MTD drivers have moved to the mtd_ooblayout_ops model we can safely remove the struct nand_ecclayout definition, and all the remaining places where it was still used. Signed-off-by: Boris Brezillon --- drivers/mtd/mtdchar.c | 12 ++---

[PATCH v4 51/52] mtd: nand: kill the ecc->layout field

2016-03-07 Thread Boris Brezillon
Now that all NAND drivers have switch to mtd_ooblayout_ops, we can kill the ecc->layout field. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 7 --- drivers/mtd/nand/nand_bch.c | 9 - include/linux/mtd/nand.h | 2 -- 3

[PATCH v4 47/52] mtd: nand: sunxi: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sunxi_nand.c | 114 +++--- 1 file changed, 52 insertions(+), 62

[PATCH v4 49/52] mtd: onenand: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Modify the onenand drivers to switch to this approach. Signed-off-by: Boris Brezillon --- drivers/mtd/onenand/onenand_base.c | 162

[PATCH v4 48/52] mtd: nand: vf610: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/vf610_nfc.c | 34 -- 1 file changed, 4 insertions(+), 30 deletions(-)

[PATCH v4 50/52] staging: mt29f_spinand: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops definition. Signed-off-by: Boris Brezillon --- drivers/staging/mt29f_spinand/mt29f_spinand.c | 48 +-- 1 file changed, 30 insertions(+), 18 deletions(-) diff

[PATCH v4 46/52] mtd: nand: sm_common: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sm_common.c | 93 1 file changed, 77 insertions(+), 16

[PATCH v4 45/52] mtd: nand: sh_flctl: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/sh_flctl.c | 87 ++--- 1 file changed, 67 insertions(+), 20

[PATCH v4 33/52] mtd: nand: fsl_elbc: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsl_elbc_nand.c | 83 +++- 1 file changed, 47 insertions(+), 36

[PATCH v4 36/52] mtd: nand: fsmc: get rid of the fsmc_nand_eccplace struct

2016-03-07 Thread Boris Brezillon
Now that mtd_ooblayout_ecc() returns the ECC byte position using the OOB free method, we can get rid of the fsmc_nand_eccplace struct. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsmc_nand.c | 60 +++-

[PATCH v4 30/52] mtd: nand: denali: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/denali.c | 50 +-- 1 file changed, 35 insertions(+), 15

[PATCH v4 32/52] mtd: nand: docg4: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/docg4.c | 33 - 1 file changed, 28 insertions(+), 5 deletions(-) diff

[PATCH v4 38/52] mtd: nand: hisi504: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/hisi504_nand.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff

[PATCH v4 31/52] mtd: nand: diskonchip: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/diskonchip.c | 60 --- 1 file changed, 45 insertions(+), 15

[PATCH v4 43/52] mtd: nand: pxa3xx: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/pxa3xx_nand.c | 104 + 1 file changed, 64 insertions(+), 40

[PATCH v4 40/52] mtd: nand: lpc32xx: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/lpc32xx_mlc.c | 50 -- drivers/mtd/nand/lpc32xx_slc.c | 41

[PATCH v4 42/52] mtd: nand: omap2: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/omap2.c | 194 +++ 1 file changed, 113 insertions(+), 81

[PATCH v4 37/52] mtd: nand: gpmi: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 52 ++ 1 file changed, 40 insertions(+), 12

[PATCH v4 39/52] mtd: nand: jz4780: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon Tested-by: Harvey Hunt --- drivers/mtd/nand/jz4780_nand.c | 19 +-- 1 file changed, 5

[PATCH v4 22/52] mtd: nand: bch: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops definition. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_bch.c | 33 +++-- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git

[PATCH v4 34/52] mtd: nand: fsl_ifc: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsl_ifc_nand.c | 230 1 file changed, 66 insertions(+), 164

[PATCH v4 41/52] mtd: nand: mxc: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/mxc_nand.c | 212 ++-- 1 file changed, 105 insertions(+), 107

[PATCH v4 35/52] mtd: nand: fsmc: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsmc_nand.c | 298 --- 1 file changed, 82 insertions(+), 216

[PATCH v4 44/52] mtd: nand: s3c2410: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/s3c2410.c | 32 +++- 1 file changed, 27 insertions(+), 5 deletions(-) diff

[PATCH v4 25/52] mtd: nand: atmel: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/atmel_nand.c | 84 --- 1 file changed, 38 insertions(+), 46

[PATCH v4 29/52] mtd: nand: davinci: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/davinci_nand.c | 118 +++- 1 file changed, 44 insertions(+), 74

[PATCH v4 27/52] mtd: nand: brcm: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/brcmnand/brcmnand.c | 258 +-- 1 file changed, 157 insertions(+), 101

[PATCH v4 23/52] mtd: nand: sharpsl: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- arch/arm/mach-pxa/spitz.c | 55 - drivers/mtd/nand/sharpsl.c | 2 +-

[PATCH v4 19/52] mtd: create an mtd_ooblayout_ops struct to ease ECC layout definition

2016-03-07 Thread Boris Brezillon
ECC layout definitions are currently exposed using the nand_ecclayout struct which embeds oobfree and eccpos arrays with predefined size. This approach was acceptable when NAND chips were providing relatively small OOB regions, but MLC and TLC now provide OOB regions of several hundreds of bytes,

[PATCH v4 28/52] mtd: nand: cafe: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/cafe_nand.c | 44 1 file changed, 32 insertions(+), 12

[PATCH v4 26/52] mtd: nand: bf5xx: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/bf5xx_nand.c | 51 --- 1 file changed, 28 insertions(+), 23

[PATCH v4 24/52] mtd: nand: jz4740: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- arch/mips/include/asm/mach-jz4740/jz4740_nand.h | 2 +- arch/mips/jz4740/board-qi_lb60.c| 87

[PATCH v4 20/52] mtd: docg3: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops definition. Signed-off-by: Boris Brezillon Acked-by: Robert Jarzmik --- drivers/mtd/devices/docg3.c | 46 ++--- 1 file

[PATCH v4 14/52] mtd: add mtd_set_ecclayout() helper function

2016-03-07 Thread Boris Brezillon
Add an mtd_set_ecclayout() helper function to avoid direct accesses to the mtd->ecclayout field. This will ease future reworks of ECC layout definition. Signed-off-by: Boris Brezillon --- include/linux/mtd/mtd.h | 6 ++ 1 file changed, 6 insertions(+)

[PATCH v4 18/52] mtd: docg3: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon Acked-by: Robert Jarzmik --- drivers/mtd/devices/docg3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v4 21/52] mtd: nand: implement the default mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the default nand_ecclayout definitions for large and small page devices with the equivalent mtd_ooblayout_ops. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 148 --- include/linux/mtd/nand.h

[PATCH v4 10/52] mtd: nand: gpmi: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[PATCH v4 17/52] mtd: onenand: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/onenand/onenand_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 13/52] mtd: onenand: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[PATCH v4 11/52] mtd: nand: lpc32xx: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[PATCH v4 16/52] mtd: nand: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/nand_base.c

[PATCH v4 07/52] mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[PATCH v4 12/52] mtd: nand: omap2: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[PATCH v4 15/52] mtd: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/mtdconcat.c | 2 +- drivers/mtd/mtdpart.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v4 08/52] mtd: nand: atmel: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[PATCH v4 03/52] mtd: mtdswap: remove useless if (!mtd->ecclayout) test

2016-03-07 Thread Boris Brezillon
If the MTD device does not have OOB, the mtd->oobsize and mtd->oobavail fields are set to zero, and we are testing those values in the following test. Remove the useless if (!mtd->ecclayout) test. Signed-off-by: Boris Brezillon --- drivers/mtd/mtdswap.c | 8

[PATCH v4 04/52] mtd: nand: simplify nand_bch_init() usage

2016-03-07 Thread Boris Brezillon
nand_bch_init() requires several arguments which could directly be deduced from the mtd device. Get rid of those useless parameters. nand_bch_init() is also requiring the caller to provide a proper eccbytes value, while this value could be deduced from the ecc.size and ecc.strength value.

[PATCH v4 06/52] mtd: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[PATCH v4 02/52] mtd: create an mtd_oobavail() helper and make use of it

2016-03-07 Thread Boris Brezillon
Currently, all MTD drivers/sublayers exposing an OOB area are doing the same kind of test to extract the available OOB size based on the mtd_info and mtd_oob_ops structures. Move this common logic into an inline function and make use of it. Signed-off-by: Boris Brezillon

[PATCH v4 05/52] mtd: add mtd_ooblayout_xxx() helper functions

2016-03-07 Thread Boris Brezillon
In order to make the ecclayout definition completely dynamic we need to rework the way the OOB layout are defined and iterated. Create a few mtd_ooblayout_xxx() helpers to ease OOB bytes manipulation and hide ecclayout internals to their users. Signed-off-by: Boris Brezillon

[PATCH v4 00/52] mtd: rework ECC layout definition

2016-03-07 Thread Boris Brezillon
Hello, This patchset aims at getting rid of the nand_ecclayout limitations. struct nand_ecclayout is defining fixed eccpos and oobfree arrays which can only be increased by modifying the MTD_MAX_ECCPOS_ENTRIES_LARGE and MTD_MAX_OOBFREE_ENTRIES_LARGE macros. This approach forces us to modify the

[PATCH v4 01/52] mtd: kill the ecclayout->oobavail field

2016-03-07 Thread Boris Brezillon
ecclayout->oobavail is just redundant with the mtd->oobavail field. Moreover, it prevents static const definition of ecc layouts since the NAND framework is calculating this value based on the ecclayout->oobfree field. Signed-off-by: Boris Brezillon ---

Re: [PATCH 2/2] isdn: i4l: move active-isdn drivers to staging

2016-03-07 Thread Paul Bolle
On za, 2016-03-05 at 14:08 +0100, Tilman Schmidt wrote: > As a consequence, owners of HiSAX type adapters are in fact stuck with > the old hisax driver if they want to continue using i4l userspace > tools. Do you know whether or not mISDN tools offer functionality comparable to i4l tools? Paul

Re: [PATCH 2/2] isdn: i4l: move active-isdn drivers to staging

2016-03-07 Thread Paul Bolle
On vr, 2016-03-04 at 17:32 +0100, Arnd Bergmann wrote: > A third patch moves the capidrv source from drivers/isdn/capi/ > into the i4l directory. I see. Why exactly? Thanks, Paul Bolle ___ devel mailing list de...@linuxdriverproject.org