[PATCH v2 36/51] mtd: nand: gpmi: switch to mtd_ooblayout_ops

2016-02-04 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 v2 34/51] mtd: nand: fsl_ifc: switch to mtd_ooblayout_ops

2016-02-04 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 | 232 1 file changed, 67 insertions(+), 165

[PATCH v2 46/51] mtd: nand: sunxi: switch to mtd_ooblayout_ops

2016-02-04 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 v2 45/51] mtd: nand: sm_common: switch to mtd_ooblayout_ops

2016-02-04 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 v2 50/51] mtd: nand: kill the ecc->layout field

2016-02-04 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 | 8 drivers/mtd/nand/nand_bch.c | 9 - include/linux/mtd/nand.h | 2 -- 3

[PATCH v2 47/51] mtd: nand: vf610: switch to mtd_ooblayout_ops

2016-02-04 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 v2 51/51] mtd: kill the nand_ecclayout struct

2016-02-04 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 v2 40/51] mtd: nand: mxc: switch to mtd_ooblayout_ops

2016-02-04 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 v2 29/51] mtd: nand: davinci: switch to mtd_ooblayout_ops

2016-02-04 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 v2 43/51] mtd: nand: s3c2410: switch to mtd_ooblayout_ops

2016-02-04 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 v2 44/51] mtd: nand: sh_flctl: switch to mtd_ooblayout_ops

2016-02-04 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 v2 49/51] staging: mt29f_spinand: switch to mtd_ooblayout_ops

2016-02-04 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 v2 22/51] mtd: nand: bch: switch to mtd_ooblayout_ops

2016-02-04 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 v2 23/51] mtd: nand: sharpsl: switch to mtd_ooblayout_ops

2016-02-04 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 v2 10/51] mtd: nand: gpmi: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-04 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 v2 00/51] mtd: rework ECC layout definition

2016-02-04 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 v2 08/51] mtd: nand: atmel: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-04 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 v2 02/51] mtd: create an mtd_oobavail() helper and make use of it

2016-02-04 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

Re: [PATCH v3 06/11] staging/android: turn fence_info into a __u64 pointer

2016-02-04 Thread Maarten Lankhorst
Op 03-02-16 om 21:09 schreef Gustavo Padovan: > Hi Maarten, > > 2016-02-03 Maarten Lankhorst : > >> Op 03-02-16 om 14:25 schreef Gustavo Padovan: >>> From: Gustavo Padovan >>> >>> Turn sync_fence_info into __u64 type enable us to

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

2016-02-04 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 v2 12/51] mtd: nand: omap2: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-04 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 v2 03/51] mtd: mtdswap: remove useless if (!mtd->ecclayout) test

2016-02-04 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 v2 06/51] mtd: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-04 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 v2 25/51] mtd: nand: atmel: switch to mtd_ooblayout_ops

2016-02-04 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 v2 11/51] mtd: nand: lpc32xx: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-04 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 v2 05/51] mtd: add mtd_ooblayout_xxx() helper functions

2016-02-04 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 v2 01/51] mtd: kill the ecclayout->oobavail field

2016-02-04 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 ---

[PATCH v2 04/51] mtd: nand: simplify nand_bch_init() usage

2016-02-04 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 v2 09/51] mtd: nand: fsl_ifc: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-04 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 v2 24/51] mtd: nand: jz4740: switch to mtd_ooblayout_ops

2016-02-04 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 v2 30/51] mtd: nand: denali: switch to mtd_ooblayout_ops

2016-02-04 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 | 51 +-- 1 file changed, 36 insertions(+), 15

[PATCH v2 38/51] mtd: nand: jz4780: switch to mtd_ooblayout_ops

2016-02-04 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/jz4780_nand.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git

[PATCH v2 27/51] mtd: nand: brcm: switch to mtd_ooblayout_ops

2016-02-04 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 v2 37/51] mtd: nand: hisi504: switch to mtd_ooblayout_ops

2016-02-04 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 | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff

[PATCH v2 15/51] mtd: use mtd_set_ecclayout() where appropriate

2016-02-04 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 v2 19/51] mtd: create an mtd_ooblayout_ops struct to ease ECC layout definition

2016-02-04 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 v2 32/51] mtd: nand: docg4: switch to mtd_ooblayout_ops

2016-02-04 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 v2 18/51] mtd: docg3: use mtd_set_ecclayout() where appropriate

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

[PATCH v2 21/51] mtd: nand: implement the default mtd_ooblayout_ops

2016-02-04 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 | 147 --- include/linux/mtd/nand.h

[PATCH v2 35/51] mtd: nand: fsmc: switch to mtd_ooblayout_ops

2016-02-04 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 | 300 --- 1 file changed, 84 insertions(+), 216

[PATCH v2 13/51] mtd: onenand: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-04 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 v2 17/51] mtd: onenand: use mtd_set_ecclayout() where appropriate

2016-02-04 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 v2 33/51] mtd: nand: fsl_elbc: switch to mtd_ooblayout_ops

2016-02-04 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 v2 28/51] mtd: nand: cafe: switch to mtd_ooblayout_ops

2016-02-04 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 | 45 1 file changed, 33 insertions(+), 12

[PATCH v2 20/51] mtd: docg3: switch to mtd_ooblayout_ops

2016-02-04 Thread Boris Brezillon
Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops definition. Signed-off-by: Boris Brezillon --- drivers/mtd/devices/docg3.c | 38 +- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git

[PATCH v2 31/51] mtd: nand: diskonchip: switch to mtd_ooblayout_ops

2016-02-04 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 | 38 +- 1 file changed, 33 insertions(+), 5 deletions(-)

[PATCH v2 26/51] mtd: nand: bf5xx: switch to mtd_ooblayout_ops

2016-02-04 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 v2 14/51] mtd: add mtd_set_ecclayout() helper function

2016-02-04 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 v2 16/51] mtd: nand: use mtd_set_ecclayout() where appropriate

2016-02-04 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

Re: [PATCH] staging: amso1100: fix format string for 64-bit phys_addr

2016-02-04 Thread Doug Ledford
On 02/01/2016 11:34 AM, Arnd Bergmann wrote: > The amso1100 driver prints a phys_addr_t by casting it to a pointer, > which causes a warning when phys_addr_t is 64-bit and pointers > are 32-bit: > > drivers/staging/rdma/amso1100/c2.c: In function 'c2_rx_error': >

[PATCH v2 39/51] mtd: nand: lpc32xx: switch to mtd_ooblayout_ops

2016-02-04 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 v2 48/51] mtd: onenand: switch to mtd_ooblayout_ops

2016-02-04 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 | 154

[PATCH v2 42/51] mtd: nand: pxa3xx: switch to mtd_ooblayout_ops

2016-02-04 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 v2 41/51] mtd: nand: omap2: switch to mtd_ooblayout_ops

2016-02-04 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 V2 net-next] hv_netvsc: cleanup netdev feature flags for netvsc

2016-02-04 Thread Simon Xiao
1. Adding NETIF_F_TSO6 feature flag; 2. Adding NETIF_F_HW_CSUM. NETIF_F_IPV6_CSUM and NETIF_F_IP_CSUM are being deprecated; 3. Cleanup the coding style of flag assignment by using macro. Signed-off-by: Simon Xiao Reviewed-by: K. Y. Srinivasan

Re: [PATCH RESEND 70/70] staging: wilc1000: remove warnings line over 80 characters

2016-02-04 Thread Joe Perches
On Thu, 2016-02-04 at 18:24 +0900, Glen Lee wrote: > From: Leo Kim > > This patch removes the warnings reported by checkpatch.pl > for line over 80 characters. > > Signed-off-by: Leo Kim > --- >  drivers/staging/wilc1000/coreconfigurator.c | 11 +++

Your Contract/Inheritance Fund ATM CARD PIN is 1765.

2016-02-04 Thread PAYMENT DEPARTMENT OFFICE
Re:COMPENSATION Attention: Beneficiary Attn: Be informed that Your Contract/Inheritance Fund ATM CARD PIN is 1765. Your daily Card Limit is 10,000.00 USD per day. The Card is valid till December 2017. And the Total Amount in the ATM VISA Card is One Million United State Dollars. We await

Re: [PATCH v2 05/51] mtd: add mtd_ooblayout_xxx() helper functions

2016-02-04 Thread Boris Brezillon
On Thu, 4 Feb 2016 11:06:28 +0100 Boris Brezillon wrote: > 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

[PATCH 8/8] staging: wilc1000: rename counter in wilc_send_config_pkt

2016-02-04 Thread Chaehyun Lim
counter is used as for-loop control variable and indicating index of struct wid array. It is to improve readability by changing counter variable name as i because wilc_send_config_pkt has a similar argument name as count. Signed-off-by: Chaehyun Lim ---

[PATCH 5/8] staging: wilc1000: fix return type of wilc_send_config_pkt

2016-02-04 Thread Chaehyun Lim
wilc_send_config_pkt is returned 0 or -ETIMEDOUT according to return value of wilc_wlan_cfg_get or wilc_wlan_cfg_set. It is better to use int type to represent linux standard error code. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.c | 5

[PATCH 3/8] staging: wilc1000: fix return type of wilc_deinit

2016-02-04 Thread Chaehyun Lim
This patch changes return type of wilc_deinit from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim ---

[PATCH 2/8] staging: wilc1000: rename pstrCfgParamVal in wilc_hif_set_cfg

2016-02-04 Thread Chaehyun Lim
This patch renames pstrCfgParamVal to cfg_param to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 6/8] staging: wilc1000: use int type for counter variable

2016-02-04 Thread Chaehyun Lim
counter is used as for-loop control variable and indicating index of struct wid array so that it is better to use int type. There is no need to set to 0 when it is declared at the top of this function. It is initialized as 0 in for-loop statement. Signed-off-by: Chaehyun Lim

[PATCH 1/8] staging: wilc1000: fix return type of wilc_hif_set_cfg

2016-02-04 Thread Chaehyun Lim
This patch changes return type of wilc_hif_set_cfg from s32 to int. The result variable gets return value from wilc_mq_send that has data type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim

[PATCH 7/8] staging: wilc1000: remove initialization code of counter variable

2016-02-04 Thread Chaehyun Lim
There is no need to set to 0 for counter variable before entering next for-loop statement because counter is initialized again in for-loop statement, so just remove it. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.c | 1 - 1 file changed, 1

[PATCH 4/8] staging: wilc1000: fix return error code of wilc_deinit

2016-02-04 Thread Chaehyun Lim
It should be returned error code as -EFAULT instead of 0 when hif_drv is NULL. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c

Re: [PATCH] staging: amso1100: fix format string for 64-bit phys_addr

2016-02-04 Thread Arnd Bergmann
On Thursday 04 February 2016 07:15:05 Doug Ledford wrote: > I've sent off a deletion of this file to Linus already, sorry. > Even better, thanks! Arnd ___ devel mailing list de...@linuxdriverproject.org

[RFC PATCH 1/2] iio: hmc5843 Add channel attribute for bias configuration

2016-02-04 Thread Cristina Moraru
Replace non standard meas_conf attribute with the standard IIO calibbias attribute. API for setting bias measurement configuration: 0 - Normal measurement configuration (default): In normal measurement configuration the device follows normal measurement flow. Pins BP and BN are left

Re: [PATCH v3 06/11] staging/android: turn fence_info into a __u64 pointer

2016-02-04 Thread Maarten Lankhorst
Op 04-02-16 om 14:05 schreef Gustavo Padovan: > 2016-02-04 Maarten Lankhorst : > >> Op 03-02-16 om 21:09 schreef Gustavo Padovan: >>> Hi Maarten, >>> >>> 2016-02-03 Maarten Lankhorst : >>> Op 03-02-16 om 14:25 schreef

[RFC PATCH 2/2] iio: hmc5843: Add attribute for available bias values

2016-02-04 Thread Cristina Moraru
Add static attribute calibbias_available to show available configurations for the bias current. API for setting bias measurement configuration: 0 - Normal measurement configuration (default): In normal measurement configuration the device follows normal measurement flow. Pins BP and BN

Re: [PATCH v3 06/11] staging/android: turn fence_info into a __u64 pointer

2016-02-04 Thread Gustavo Padovan
2016-02-04 Maarten Lankhorst : > Op 03-02-16 om 21:09 schreef Gustavo Padovan: > > Hi Maarten, > > > > 2016-02-03 Maarten Lankhorst : > > > >> Op 03-02-16 om 14:25 schreef Gustavo Padovan: > >>> From: Gustavo Padovan

[PATCHv2] staging: rdma: use setup_timer() api

2016-02-04 Thread Gujulan Elango, Hari Prasath (H.)
From: Hari Prasath Gujulan Elango Replace the timer API's to initialize a timer & then assign the callback function by the setup_timer() API. Signed-off-by: Hari Prasath Gujulan Elango --- v2: Unwanted text present in the commit comments

[PATCH] staging: wilc1000: Fix compilation error when CONFIG_PM disabled

2016-02-04 Thread Glen Lee
Commit 73584a40d748 ("staging: wilc1000: add ops resuem/suspend/wakeup in cfg80211") causes following compilation error. This patch fixes this by using suspend/resume under CONFIG_PM. drivers/staging/wilc1000/wilc_wfi_cfgoperations.c: In function 'wilc_create_wiphy': >>

[PATCH] Staging:iio:Remove exceptional & on function name

2016-02-04 Thread Bhumika Goyal
In this file,function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - + f // Signed-off-by: Bhumika Goyal --- drivers/staging/iio/impedance-analyzer/ad5933.c | 8 1 file

[PATCH RESEND 02/70] staging: wilc1000: remove unused functions

2016-02-04 Thread Glen Lee
This patch removes unused following functions. wilc_del_all_rx_ba_session wilc_flush_join_req wilc_wait_msg_queue_idle wilc_set_mac_address Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 92 ---

[PATCH RESEND 01/70] staging: wilc1000: wilc_set_wfi_drv_handler: add mac index

2016-02-04 Thread Glen Lee
Firmware supports sta/ap concurrency so mac index will be passed to wilc. Remove wilc_set_wfi_drv_handler in scan and connect functions, and call the function in ndo_open which is wilc_mac_open. WID_SET_DRV_HANDLER value has been changed as well. Signed-off-by: Glen Lee ---

[PATCH RESEND 00/70] staging: wilc1000: rebase and resend

2016-02-04 Thread Glen Lee
I rebased all the pending patches which are not accepted yet and resend them. Chris Park (13): staging: wilc1000: fix warnings for line over 80 characters staging: wilc1000: remove useless log message staging: wilc1000: remove useless function staging: wilc1000: remove unnecessary braces

[PATCH RESEND 03/70] staging: wilc1000: ignore power save

2016-02-04 Thread Glen Lee
If two interfaces are connected and it is required to enable power save then ignore the request. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/wilc1000/host_interface.c

[PATCH RESEND 06/70] staging: wilc1000: remove define TCP_ACK_FILTER

2016-02-04 Thread Glen Lee
This patch removes define TCP_ACK_FILTER and use it's feature codes. Add argument wilc to wilc_wlan_txq_remove because compile error happens. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/Makefile| 1 - drivers/staging/wilc1000/wilc_wlan.c | 22

[PATCH RESEND 09/70] staging: wilc1000: fix bug on p2p connection

2016-02-04 Thread Glen Lee
In case of action frame, size -7 is correct, but in this case, size should be used as it is. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH RESEND 08/70] staging: wilc1000: disable power save when AP mode

2016-02-04 Thread Glen Lee
This patch disables power save mode in case of AP mode. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

[PATCH RESEND 07/70] staging: wilc1000: increase link speed

2016-02-04 Thread Glen Lee
This patch increases throughput by enabling tcp ack filter base on checking statistics and also handling tcp session. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 31 +-- drivers/staging/wilc1000/wilc_wfi_netdevice.h |

[PATCH RESEND 10/70] staging: wilc1000: add ops tx power in cfg80211

2016-02-04 Thread Glen Lee
This patch implements set_tx_power and get_tx_power of cfg80211_ops. In addition, Id of HOST_IF_MSG_DEL_ALL_RX_BA_SESSIONS is changed with 37. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 88 ++-

[PATCH RESEND 04/70] staging: wilc1000: handle connecting error

2016-02-04 Thread Glen Lee
If connection fails, wilc1000_connecting needs to be set false also and return immediately because goto lable 'done' doesn't do anything. Remove lable 'done' as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 13 ++--- 1 file

[PATCH RESEND 05/70] staging: wilc1000: tcp_process: fix a build warning

2016-02-04 Thread Glen Lee
This patch fixes build warning "flags is used uninitialized" when TCP_ACK_FILTER is defined. Fixes: 562ed3f1f78a ("staging/wilc1000: pass struct wilc to most linux_wlan.c functions") Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 1 + 1 file changed, 1

[PATCH RESEND 11/70] staging: wilc1000: fix WEP security bug

2016-02-04 Thread Glen Lee
Station cannot connect to soft AP mode wilc when it is configured for WEP security. This patch fixes it by setting the key index within the key value and change the last else condition with DEFAULTKEY action case, and also do not use WILC_WFI_wep_default index to set wep key id. Signed-off-by:

[PATCH RESEND 14/70] staging: wilc1000: pass vif to wilc_send_config_pkt

2016-02-04 Thread Glen Lee
This patch passes vif instead of wilc to wilc_send_config_pkt and it's related functions as well, because we need vif which is currently being used and vif has wilc as well. Change custom print with netdev_xxx format if there are custom print inside the functions we have changed. Function

[PATCH RESEND 12/70] staging: wilc1000: get mac address after setting drv handler

2016-02-04 Thread Glen Lee
This patch moves wilc_get_mac_address and address memcpy function after calling wilc_set_wif_drv_handler to get selected mac address. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH RESEND 20/70] staging: wilc1000: replaces PRINT_XXX with netdev_xxx

2016-02-04 Thread Glen Lee
From: Leo Kim This patches replaces PRINT_XXX with netdev_xxx. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 109 +- 1 file changed, 54 insertions(+), 55

[PATCH RESEND 18/70] staging: wilc1000: remove warnings line over 80 characters

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes the warnings reported by checkpatch.pl for line over 80 characters. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 6 -- 1 file changed, 4 insertions(+),

[PATCH RESEND 25/70] staging: wilc1000: wilc_parse_network_info(): renames local variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase, changes follow are: - pstrNetworkInfo to network_info - u8MsgType to msg_type - u8MsgID to msg_id - u16MsgLen to msg_len - u16WidID to wid_id - u16WidLen to wid_len - pu8WidVal to wid_val Signed-off-by: Leo Kim

[PATCH RESEND 16/70] staging: wilc1000: fixes missing a blank line after declarations

2016-02-04 Thread Glen Lee
From: Leo Kim This patch fixes the warnings reported by checkpatch.pl for Missing a blank line after declarations. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 ++ 1 file changed, 2

[PATCH RESEND 24/70] staging: wilc1000: wilc_parse_network_info(): renames function variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase, changes follow are: - pu8MsgBuffer to msg_buffer - ppstrNetworkInfo to ret_network_info Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 16

[PATCH RESEND 19/70] staging: wilc1000: removes unnecessary debug logs

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes unnecessary debug logs. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 154 ++ 1 file changed, 24 insertions(+), 130

[PATCH RESEND 17/70] staging: wilc1000: rename pBssid of tx_complete_data structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames pBssid variable of tx_complete_data structure to bssid to avoid camelcase. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +-

[PATCH RESEND 21/70] staging: wilc1000: removes void function return

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes the warning reported by checkpatch.pl for void function return statements are not generally useful. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 -- 1

[PATCH RESEND 15/70] staging: wilc1000: rename hWILCWFIDrv of wilc_priv structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames hWILCWFIDrv pointer variable of wilc_priv structure to hif_drv to avoid camelcase. Signed-off-by: Leo Kim Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 8

[PATCH RESEND 13/70] staging: wilc1000: move wilc_send_config_pkt to wilc_wlan.c

2016-02-04 Thread Glen Lee
This patch moves the function wilc_send_config_pkt to wilc_wlan.c which handles transport since the purpose of the function is sending/getting of config information. coreconfiguator.[ch] will be rename with frame.[ch] later. The print codes of the function is removed also and they will be

[PATCH RESEND 32/70] staging: wilc1000: fix warnings for line over 80 characters

2016-02-04 Thread Glen Lee
From: Chris Park This patch fixes warnings reported by checkpatch.pl for line over 80 characters Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 33 -

[PATCH RESEND 33/70] staging: wilc1000: remove useless log message

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove useless log message in wilc_wlan.c file Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 128 ++- 1 file changed, 22

  1   2   >