From: David Miller <davem@redhat.com>
To: krzk@kernel.org
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: wan: sdla: Fix cast from pointer to integer of different size
Date: Mon, 06 Jan 2020 13:30:19 -0800 (PST) [thread overview]
Message-ID: <20200106.133019.1552234323489676036.davem@redhat.com> (raw)
In-Reply-To: <20200104143143.6380-1-krzk@kernel.org>
From: Krzysztof Kozlowski <krzk@kernel.org>
Date: Sat, 4 Jan 2020 15:31:43 +0100
> Since net_device.mem_start is unsigned long, it should not be cast to
> int right before casting to pointer. This fixes warning (compile
> testing on alpha architecture):
>
> drivers/net/wan/sdla.c: In function ‘sdla_transmit’:
> drivers/net/wan/sdla.c:711:13: warning:
> cast to pointer from integer of different size [-Wint-to-pointer-cast]
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Applied.
prev parent reply other threads:[~2020-01-06 21:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-04 14:31 Krzysztof Kozlowski
2020-01-06 21:30 ` David Miller [this message]
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=20200106.133019.1552234323489676036.davem@redhat.com \
--to=davem@redhat.com \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®