From: David Miller <davem@davemloft.net>
To: arnd@arndb.de
Cc: netdev@vger.kernel.org, huangdaode@hisilicon.com,
liguozhu@huawei.com, Yisen.Zhuang@huawei.com
Subject: Re: [PATCH] net: nhs: fix 32-bit build warning
Date: Thu, 08 Oct 2015 04:55:11 -0700 (PDT) [thread overview]
Message-ID: <20151008.045511.183579883465246367.davem@davemloft.net> (raw)
In-Reply-To: <8581924.9CPedieySC@wuerfel>
From: Arnd Bergmann <arnd@arndb.de>
Date: Tue, 06 Oct 2015 23:53:57 +0200
> The recently added hns driver causes a build warning in ARM
> allmodconfig builds:
>
> drivers/net/ethernet/hisilicon/hns/hnae.c: In function 'handles_show':
> drivers/net/ethernet/hisilicon/hns/hnae.c:452:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> j, (u64)h->qs[i]->io_base);
> ^
>
> This removes the pointless cast and prints the pointer address using
> the "%p" format string in all three locations.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Applied with subject typo fixed, thanks.
next prev parent reply other threads:[~2015-10-08 11:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-06 21:53 [PATCH] net: nhs: fix 32-bit build warning Arnd Bergmann
2015-10-06 22:21 ` Sergei Shtylyov
2015-10-08 11:55 ` David Miller [this message]
2015-10-11 20:13 ` Joe Perches
2015-10-12 1:25 ` huangdaode
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=20151008.045511.183579883465246367.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Yisen.Zhuang@huawei.com \
--cc=arnd@arndb.de \
--cc=huangdaode@hisilicon.com \
--cc=liguozhu@huawei.com \
--cc=netdev@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).