All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 07/11] net: designware: Fix build warnings
Date: Thu, 3 Sep 2015 18:46:12 -0600	[thread overview]
Message-ID: <CAPnjgZ3CwMpG0Z4hTGQnLGHD3-1e+fFjx+=u51h_VA7OFrJC+A@mail.gmail.com> (raw)
In-Reply-To: <1441283853-30868-8-git-send-email-bmeng.cn@gmail.com>

On 3 September 2015 at 06:37, Bin Meng <bmeng.cn@gmail.com> wrote:
> When building dm version of designware eth driver on a platform
> with 64-bit phys_addr_t, it reports the following warnings:
>
>   drivers/net/designware.c: In function 'designware_eth_probe':
>   drivers/net/designware.c:599:2:
>     warning: format '%lx' expects argument of type 'long unsigned int',
>     but argument 3 has type 'phys_addr_t' [-Wformat]
>   drivers/net/designware.c:600:21:
>     warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>   drivers/net/designware.c:601:21:
>     warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>
> This commit fixes the build warnings.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
>  drivers/net/designware.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Applied to u-boot-x86, thanks!

  reply	other threads:[~2015-09-04  0:46 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-03 12:37 [U-Boot] [PATCH v4 00/11] x86: quark: Convert to driver model Bin Meng
2015-09-03 12:37 ` [U-Boot] [PATCH v4 01/11] x86: quark: Optimize MRC execution time Bin Meng
2015-09-04  0:45   ` Simon Glass
2015-09-03 12:37 ` [U-Boot] [PATCH v4 02/11] x86: quark: Avoid chicken and egg problem Bin Meng
2015-09-04  0:45   ` Simon Glass
2015-09-03 12:37 ` [U-Boot] [PATCH v4 03/11] x86: Enable PCIe controller on quark/galileo Bin Meng
2015-09-04  0:46   ` Simon Glass
2015-09-03 12:37 ` [U-Boot] [PATCH v4 04/11] x86: Convert to use driver model pci " Bin Meng
2015-09-04  0:46   ` Simon Glass
2015-09-03 12:37 ` [U-Boot] [PATCH v4 05/11] x86: quark: Add USB PHY initialization support Bin Meng
2015-09-04  0:46   ` Simon Glass
2015-09-03 12:37 ` [U-Boot] [PATCH v4 06/11] x86: galileo: Convert to use CONFIG_DM_USB Bin Meng
2015-09-04  0:46   ` Simon Glass
2015-09-03 12:37 ` [U-Boot] [PATCH v4 07/11] net: designware: Fix build warnings Bin Meng
2015-09-04  0:46   ` Simon Glass [this message]
2015-09-03 12:37 ` [U-Boot] [PATCH v4 08/11] dm: pci: Add an inline API to test if a device is on a PCI bus Bin Meng
2015-09-10  3:58   ` Simon Glass
2015-09-10 20:41     ` Simon Glass
2015-09-11 10:24       ` Bin Meng
2015-09-03 12:37 ` [U-Boot] [PATCH v4 09/11] net: designware: Add support to PCI designware devices Bin Meng
2015-09-04  0:43   ` Simon Glass
2015-09-04  0:49     ` Bin Meng
2015-09-03 12:37 ` [U-Boot] [PATCH v4 10/11] x86: Convert to use driver model eth on quark/galileo Bin Meng
2015-09-03 12:37 ` [U-Boot] [PATCH v4 11/11] x86: quark: Add PCIe/USB static register programming after memory init Bin Meng
2015-09-10  3:58   ` Simon Glass

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='CAPnjgZ3CwMpG0Z4hTGQnLGHD3-1e+fFjx+=u51h_VA7OFrJC+A@mail.gmail.com' \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /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.