From: sergei.shtylyov@cogentembedded•com (Sergei Shtylyov)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 1/1] drivers: net: silence compiler warning in smc91x.c
Date: Fri, 10 Jan 2014 23:42:41 +0300 [thread overview]
Message-ID: <52D05B41.7000601@cogentembedded.com> (raw)
In-Reply-To: <1389323046-4521-1-git-send-email-pankaj.dubey@samsung.com>
Hello.
On 01/10/2014 06:04 AM, Pankaj Dubey wrote:
> If used 64 bit compiler GCC warns that:
> drivers/net/ethernet/smsc/smc91x.c:1897:7:
> warning: cast from pointer to integer of different
> size [-Wpointer-to-int-cast]
> This patch fixes this by changing typecase from "unsigned int" to "unsigned long"
Only "typecast".
> CC: "David S. Miller" <davem@davemloft•net>
> CC: Jingoo Han <jg1.han@samsung•com>
> CC: netdev at vger.kernel.org
> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung•com>
WBR, Sergei
next prev parent reply other threads:[~2014-01-10 20:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-10 3:04 [PATCH 1/1] drivers: net: silence compiler warning in smc91x.c Pankaj Dubey
2014-01-10 20:42 ` Sergei Shtylyov [this message]
2014-01-13 19:54 ` David Miller
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=52D05B41.7000601@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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