[PATCH 1/1] i2c-dev: switch from register_chrdev to cdev API

2016-05-03 Thread Erico Nunes
platform which makes use of the i2c bus multiplexing API. i2c-dev busses with device minor numbers larger than 256 have also been validated to work with the existing i2c-tools. Signed-off-by: Erico Nunes --- drivers/i2c/i2c-dev.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions

[PATCH] microblaze: Add missing PVR version codes

2015-01-01 Thread Erico Nunes
the Xilinx MicroBlaze Processor Reference Guides UG081 (v14.7) and UG984 (v2014.1). Signed-off-by: Erico Nunes --- arch/microblaze/kernel/cpu/cpuinfo.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/microblaze/kernel/cpu/cpuinfo.c b/arch/microblaze/kernel/cpu/cpuinfo.c index 234aca

Re: Creating a new platform_bus inside a spi_driver

2014-11-15 Thread DATACOM - Erico Nunes
On 11/13/2014 06:52 AM, Stanimir Varbanov wrote: > Hi Grant, Arnd and Erico > > On 11/11/2014 01:07 PM, Grant Likely wrote: >> On Fri, 07 Nov 2014 18:04:35 +0100 >> , Arnd Bergmann >> wrote: >>> On Friday 07 November 2014 14:37:26 DATACOM - Érico Nunes wrote: Hello Arnd and all, >>>

Re: [PATCH] mtd: nand: fix mention to CONFIG_MTD_NAND_ECC_BCH

2014-03-25 Thread Erico Nunes
2014-03-11 1:31 GMT-03:00 Erico Nunes : > Mention to CONFIG_MTD_ECC_BCH in the warning message can be confusing as this > doesn't match the exact name of the configuration option. > This warning showed up once to me when I was starting to set up BCH. After > checking my .confi

[PATCH] mtd: nand: fix mention to CONFIG_MTD_NAND_ECC_BCH

2014-03-10 Thread Erico Nunes
it is CONFIG_MTD_NAND_ECC_BCH instead of CONFIG_MTD_ECC_BCH. Signed-off-by: Erico Nunes --- drivers/mtd/nand/nand_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 9715a7b..5a93787 100644 --- a/drivers/mtd/nand/nand_base.c

Re: [PATCH] Clarify error on directive in macro arguments (Re: [PATCH] jffs2: fix sparse errors: directive in argument list)

2013-11-17 Thread Erico Nunes
On Mon, Nov 18, 2013 at 12:15 AM, Joe Perches wrote: > On Sun, 2013-11-17 at 21:07 -0500, Greg Price wrote: > > Maybe, but this case isn't a macro. It's a function. > Dunno if differentiating when it's a macro or a > function is difficult though. > > The case which was initially reported by spar

[PATCH] jffs2: fix sparse errors: directive in argument list

2013-11-17 Thread Erico Nunes
list Signed-off-by: Erico Nunes --- fs/jffs2/super.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c index 0defb1c..ec9e16f 100644 --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c @@ -361,6 +361,14 @@ MODULE_ALIAS_FS("

Re: [PATCH] jffs2: fix sparse errors: directive in argument list

2013-11-17 Thread Erico Nunes
Thanks for your reply. I'll resubmit shortly. Do you mean it as an error in the sparse tool? I don't think so, I took a look and it seems to be designed to output an error for that case. On Sun, Nov 17, 2013 at 7:40 PM, Joe Perches wrote: > On Sun, 2013-11-17 at 18:18 -0200, Eric

[PATCH] jffs2: fix sparse errors: directive in argument list

2013-11-17 Thread Erico Nunes
This patch fixes the following errors reported when running sparse: fs/jffs2/super.c:378:1: error: directive in argument list fs/jffs2/super.c:380:1: error: directive in argument list fs/jffs2/super.c:381:1: error: directive in argument list fs/jffs2/super.c:383:1: error: directive in argument list