From: Tony Prisk <linux@prisktech.co.nz>
To: dedekind1@gmail.com
Cc: vt8500-wm8505-linux-kernel@googlegroups.com,
linux-mtd@lists.infradead.org,
David Woodhouse <dwmw2@infradead.org>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2] mtd: vt8500: Add support for Wondermedia Serial Flash Controller
Date: Wed, 16 Jan 2013 06:45:07 +1300 [thread overview]
Message-ID: <1358271907.31593.1.camel@gitbox> (raw)
In-Reply-To: <1358261750.2731.148.camel@sauron.fi.intel.com>
On Tue, 2013-01-15 at 16:55 +0200, Artem Bityutskiy wrote:
> On Mon, 2012-12-31 at 10:00 +1300, Tony Prisk wrote:
> > This patch adds support for the Wondermedia serial flash controller
> > found on WM8505, WM8650 and WM8850 SoCs.
> >
> > Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
> > ---
> > v2: Whitespace tidyup
>
> Hi, would you please take a look at these warings, identified by aiaiai:
>
> Successfully built configuration "x86_64_defconfig,x86_64,", results:
>
> --- before_patching.log
> +++ after_patching.log
> @@ @@
> +drivers/mtd/devices/wmt_sflash.c: In function ‘sf_read’:
> +drivers/mtd/devices/wmt_sflash.c:425:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
> +drivers/mtd/devices/wmt_sflash.c: In function ‘sf_sector_write’:
> +drivers/mtd/devices/wmt_sflash.c:442:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> +drivers/mtd/devices/wmt_sflash.c:442:24: warning: cast removes address space of expression [sparse]
> +drivers/mtd/devices/wmt_sflash.c:458:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> +drivers/mtd/devices/wmt_sflash.c:458:31: warning: incorrect type in argument 1 (different address spaces) [sparse]
> +drivers/mtd/devices/wmt_sflash.c:458:31: expected void volatile [noderef] <asn:2>*dst [sparse]
> +drivers/mtd/devices/wmt_sflash.c:458:31: got unsigned char [usertype] *<noident> [sparse]
> +drivers/mtd/devices/wmt_sflash.c:465:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> +drivers/mtd/devices/wmt_sflash.c:465:39: warning: incorrect type in argument 1 (different address spaces) [sparse]
> +drivers/mtd/devices/wmt_sflash.c:465:39: expected void volatile [noderef] <asn:2>*dst [sparse]
> +drivers/mtd/devices/wmt_sflash.c:465:39: got unsigned char [usertype] *<noident> [sparse]
>
Apologies - This driver shouldn't be selectable for x86_64.
It is an ARM driver for an embedded device. Will fix.
Regards
Tony P
WARNING: multiple messages have this Message-ID (diff)
From: linux@prisktech.co.nz (Tony Prisk)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] mtd: vt8500: Add support for Wondermedia Serial Flash Controller
Date: Wed, 16 Jan 2013 06:45:07 +1300 [thread overview]
Message-ID: <1358271907.31593.1.camel@gitbox> (raw)
In-Reply-To: <1358261750.2731.148.camel@sauron.fi.intel.com>
On Tue, 2013-01-15 at 16:55 +0200, Artem Bityutskiy wrote:
> On Mon, 2012-12-31 at 10:00 +1300, Tony Prisk wrote:
> > This patch adds support for the Wondermedia serial flash controller
> > found on WM8505, WM8650 and WM8850 SoCs.
> >
> > Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
> > ---
> > v2: Whitespace tidyup
>
> Hi, would you please take a look at these warings, identified by aiaiai:
>
> Successfully built configuration "x86_64_defconfig,x86_64,", results:
>
> --- before_patching.log
> +++ after_patching.log
> @@ @@
> +drivers/mtd/devices/wmt_sflash.c: In function ?sf_read?:
> +drivers/mtd/devices/wmt_sflash.c:425:9: warning: format ?%d? expects argument of type ?int?, but argument 4 has type ?size_t? [-Wformat]
> +drivers/mtd/devices/wmt_sflash.c: In function ?sf_sector_write?:
> +drivers/mtd/devices/wmt_sflash.c:442:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> +drivers/mtd/devices/wmt_sflash.c:442:24: warning: cast removes address space of expression [sparse]
> +drivers/mtd/devices/wmt_sflash.c:458:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> +drivers/mtd/devices/wmt_sflash.c:458:31: warning: incorrect type in argument 1 (different address spaces) [sparse]
> +drivers/mtd/devices/wmt_sflash.c:458:31: expected void volatile [noderef] <asn:2>*dst [sparse]
> +drivers/mtd/devices/wmt_sflash.c:458:31: got unsigned char [usertype] *<noident> [sparse]
> +drivers/mtd/devices/wmt_sflash.c:465:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> +drivers/mtd/devices/wmt_sflash.c:465:39: warning: incorrect type in argument 1 (different address spaces) [sparse]
> +drivers/mtd/devices/wmt_sflash.c:465:39: expected void volatile [noderef] <asn:2>*dst [sparse]
> +drivers/mtd/devices/wmt_sflash.c:465:39: got unsigned char [usertype] *<noident> [sparse]
>
Apologies - This driver shouldn't be selectable for x86_64.
It is an ARM driver for an embedded device. Will fix.
Regards
Tony P
WARNING: multiple messages have this Message-ID (diff)
From: Tony Prisk <linux@prisktech.co.nz>
To: dedekind1@gmail.com
Cc: David Woodhouse <dwmw2@infradead.org>,
vt8500-wm8505-linux-kernel@googlegroups.com,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2] mtd: vt8500: Add support for Wondermedia Serial Flash Controller
Date: Wed, 16 Jan 2013 06:45:07 +1300 [thread overview]
Message-ID: <1358271907.31593.1.camel@gitbox> (raw)
In-Reply-To: <1358261750.2731.148.camel@sauron.fi.intel.com>
On Tue, 2013-01-15 at 16:55 +0200, Artem Bityutskiy wrote:
> On Mon, 2012-12-31 at 10:00 +1300, Tony Prisk wrote:
> > This patch adds support for the Wondermedia serial flash controller
> > found on WM8505, WM8650 and WM8850 SoCs.
> >
> > Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
> > ---
> > v2: Whitespace tidyup
>
> Hi, would you please take a look at these warings, identified by aiaiai:
>
> Successfully built configuration "x86_64_defconfig,x86_64,", results:
>
> --- before_patching.log
> +++ after_patching.log
> @@ @@
> +drivers/mtd/devices/wmt_sflash.c: In function ‘sf_read’:
> +drivers/mtd/devices/wmt_sflash.c:425:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat]
> +drivers/mtd/devices/wmt_sflash.c: In function ‘sf_sector_write’:
> +drivers/mtd/devices/wmt_sflash.c:442:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> +drivers/mtd/devices/wmt_sflash.c:442:24: warning: cast removes address space of expression [sparse]
> +drivers/mtd/devices/wmt_sflash.c:458:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> +drivers/mtd/devices/wmt_sflash.c:458:31: warning: incorrect type in argument 1 (different address spaces) [sparse]
> +drivers/mtd/devices/wmt_sflash.c:458:31: expected void volatile [noderef] <asn:2>*dst [sparse]
> +drivers/mtd/devices/wmt_sflash.c:458:31: got unsigned char [usertype] *<noident> [sparse]
> +drivers/mtd/devices/wmt_sflash.c:465:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> +drivers/mtd/devices/wmt_sflash.c:465:39: warning: incorrect type in argument 1 (different address spaces) [sparse]
> +drivers/mtd/devices/wmt_sflash.c:465:39: expected void volatile [noderef] <asn:2>*dst [sparse]
> +drivers/mtd/devices/wmt_sflash.c:465:39: got unsigned char [usertype] *<noident> [sparse]
>
Apologies - This driver shouldn't be selectable for x86_64.
It is an ARM driver for an embedded device. Will fix.
Regards
Tony P
next prev parent reply other threads:[~2013-01-15 17:45 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-30 21:00 [PATCH v2] mtd: vt8500: Add support for Wondermedia Serial Flash Controller Tony Prisk
2012-12-30 21:00 ` Tony Prisk
2012-12-30 21:00 ` Tony Prisk
2013-01-15 14:55 ` Artem Bityutskiy
2013-01-15 14:55 ` Artem Bityutskiy
2013-01-15 14:55 ` Artem Bityutskiy
2013-01-15 17:45 ` Tony Prisk [this message]
2013-01-15 17:45 ` Tony Prisk
2013-01-15 17:45 ` Tony Prisk
2013-01-15 19:11 ` Artem Bityutskiy
2013-01-15 19:11 ` Artem Bityutskiy
2013-01-15 19:11 ` Artem Bityutskiy
2013-01-15 23:30 ` Tony Prisk
2013-01-15 23:30 ` Tony Prisk
2013-01-15 23:30 ` Tony Prisk
-- strict thread matches above, loose matches on Subject: below --
2013-01-15 17:53 Tony Prisk
2013-01-15 17:53 ` Tony Prisk
2013-01-15 17:53 ` Tony Prisk
2013-01-15 19:36 ` Artem Bityutskiy
2013-01-15 19:36 ` Artem Bityutskiy
2013-01-15 19:36 ` Artem Bityutskiy
2013-01-15 23:52 ` Tony Prisk
2013-01-15 23:52 ` Tony Prisk
2013-01-15 23:52 ` Tony Prisk
2013-01-17 11:21 ` Artem Bityutskiy
2013-01-17 11:21 ` Artem Bityutskiy
2013-01-17 11:21 ` Artem Bityutskiy
2013-01-17 12:30 ` Artem Bityutskiy
2013-01-17 12:30 ` Artem Bityutskiy
2013-01-17 12:30 ` Artem Bityutskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1358271907.31593.1.camel@gitbox \
--to=linux@prisktech.co.nz \
--cc=dedekind1@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=vt8500-wm8505-linux-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.