From: Fengguang Wu <fengguang.wu@intel.com>
To: Bing Zhao <bzhao@marvell.com>
Cc: Avinash Patil <patila@marvell.com>,
"kernel-janitors@vger.kernel.org"
<kernel-janitors@vger.kernel.org>,
"John W. Linville" <linville@tuxdriver.com>,
Kiran Divekar <dkiran@marvell.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [wireless-testing:master 53/59] drivers/net/wireless/mwifiex/uap_event.c:251:11: warning: compar
Date: Tue, 07 Aug 2012 02:47:07 +0000 [thread overview]
Message-ID: <20120807024707.GA21890@localhost> (raw)
In-Reply-To: <477F20668A386D41ADCC57781B1F7043083AE3DA2C@SC-VEXCH1.marvell.com>
On Mon, Aug 06, 2012 at 07:33:37PM -0700, Bing Zhao wrote:
> Hi Fengguang,
>
> > drivers/net/wireless/mwifiex/uap_event.c: In function 'mwifiex_process_uap_event':
> > drivers/net/wireless/mwifiex/uap_event.c:251:11: warning: comparison of distinct pointer types lacks
> > a cast [enabled by default]
>
> Thanks for reporting this warning.
> Could you please share your gcc version (or ppc toolchain version) with me?
Bing, the toolchain is downloaded from
https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/
Just unpack the powerpc package to /usr/local and run this:
/usr/bin/make ARCH=powerpc CROSS_COMPILE=/usr/local/gcc-4.6.3-nolibc/powerpc64-linux/bin/powerpc64-linux- allmodconfig
The gcc version is:
% /usr/local/gcc-4.6.3-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-4.6.3-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.6.3-nolibc/powerpc64-linux/bin/../libexec/gcc/powerpc64-linux/4.6.3/lto-wrapper
Target: powerpc64-linux
Configured with: /home/tony/buildall/src/gcc/configure --target=powerpc64-linux --host=x86_64-linux-gnu --build=x86_64-linux-gnu --enable-targets=all --prefix=/opt/cross/gcc-4.6.3-nolibc/powerpc64-linux/ --enable-languages=c --with-newlib --without-headers --enable-sjlj-exceptions --with-system-libunwind --disable-nls --disable-threads --disable-shared --disable-libmudflap --disable-libssp --disable-libgomp --disable-decimal-float --enable-checking=release --with-mpfr=/home/tony/buildall/src/sys-x86_64 --with-gmp=/home/tony/buildall/src/sys-x86_64 --disable-bootstrap --disable-libquadmath
Thread model: single
gcc version 4.6.3 (GCC)
Thanks,
Fengguang
WARNING: multiple messages have this Message-ID (diff)
From: Fengguang Wu <fengguang.wu@intel.com>
To: Bing Zhao <bzhao@marvell.com>
Cc: Avinash Patil <patila@marvell.com>,
"kernel-janitors@vger.kernel.org"
<kernel-janitors@vger.kernel.org>,
"John W. Linville" <linville@tuxdriver.com>,
Kiran Divekar <dkiran@marvell.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [wireless-testing:master 53/59] drivers/net/wireless/mwifiex/uap_event.c:251:11: warning: comparison of distinct pointer types lacks a cast
Date: Tue, 7 Aug 2012 10:47:07 +0800 [thread overview]
Message-ID: <20120807024707.GA21890@localhost> (raw)
In-Reply-To: <477F20668A386D41ADCC57781B1F7043083AE3DA2C@SC-VEXCH1.marvell.com>
On Mon, Aug 06, 2012 at 07:33:37PM -0700, Bing Zhao wrote:
> Hi Fengguang,
>
> > drivers/net/wireless/mwifiex/uap_event.c: In function 'mwifiex_process_uap_event':
> > drivers/net/wireless/mwifiex/uap_event.c:251:11: warning: comparison of distinct pointer types lacks
> > a cast [enabled by default]
>
> Thanks for reporting this warning.
> Could you please share your gcc version (or ppc toolchain version) with me?
Bing, the toolchain is downloaded from
https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/
Just unpack the powerpc package to /usr/local and run this:
/usr/bin/make ARCH=powerpc CROSS_COMPILE=/usr/local/gcc-4.6.3-nolibc/powerpc64-linux/bin/powerpc64-linux- allmodconfig
The gcc version is:
% /usr/local/gcc-4.6.3-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-4.6.3-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.6.3-nolibc/powerpc64-linux/bin/../libexec/gcc/powerpc64-linux/4.6.3/lto-wrapper
Target: powerpc64-linux
Configured with: /home/tony/buildall/src/gcc/configure --target=powerpc64-linux --host=x86_64-linux-gnu --build=x86_64-linux-gnu --enable-targets=all --prefix=/opt/cross/gcc-4.6.3-nolibc/powerpc64-linux/ --enable-languages=c --with-newlib --without-headers --enable-sjlj-exceptions --with-system-libunwind --disable-nls --disable-threads --disable-shared --disable-libmudflap --disable-libssp --disable-libgomp --disable-decimal-float --enable-checking=release --with-mpfr=/home/tony/buildall/src/sys-x86_64 --with-gmp=/home/tony/buildall/src/sys-x86_64 --disable-bootstrap --disable-libquadmath
Thread model: single
gcc version 4.6.3 (GCC)
Thanks,
Fengguang
next prev parent reply other threads:[~2012-08-07 2:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-07 0:55 [wireless-testing:master 53/59] drivers/net/wireless/mwifiex/uap_event.c:251:11: warning: comparison of distinct pointer types lacks a cast Fengguang Wu
2012-08-07 2:33 ` [wireless-testing:master 53/59] drivers/net/wireless/mwifiex/uap_event.c:251:11: warning: compar Bing Zhao
2012-08-07 2:33 ` [wireless-testing:master 53/59] drivers/net/wireless/mwifiex/uap_event.c:251:11: warning: comparison of distinct pointer types lacks a cast Bing Zhao
2012-08-07 2:47 ` Fengguang Wu [this message]
2012-08-07 2:47 ` Fengguang Wu
2012-08-07 6:56 ` [wireless-testing:master 53/59] drivers/net/wireless/mwifiex/uap_event.c:251:11: warning: compar Avinash Patil
2012-08-07 6:56 ` [wireless-testing:master 53/59] drivers/net/wireless/mwifiex/uap_event.c:251:11: warning: comparison of distinct pointer types lacks a cast Avinash Patil
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=20120807024707.GA21890@localhost \
--to=fengguang.wu@intel.com \
--cc=bzhao@marvell.com \
--cc=dkiran@marvell.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=patila@marvell.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.