All of lore.kernel.org
 help / color / mirror / Atom feed
From: wfg@linux.intel.com
To: kernel-janitors@vger.kernel.org
Subject: [net-next:master 64/65] drivers/net/ethernet/realtek/r8169.c:6756:35: sparse: incorrect type in
Date: Tue, 10 Jul 2012 02:02:36 +0000	[thread overview]
Message-ID: <20120710020236.GA8103@localhost> (raw)

Hi Hayes,

There are new sparse warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   061a5c316b6526dbc729049a16243ec27937cc31
commit: c558386b836ee97762e12495101c6e373f20e69d [64/65] r8169: support RTL8168G

All sparse warnings:

+ drivers/net/ethernet/realtek/r8169.c:6756:35: sparse: incorrect type in argument 1 (different address spaces)
  drivers/net/ethernet/realtek/r8169.c:6756:35:    expected struct rtl8169_private *tp
  drivers/net/ethernet/realtek/r8169.c:6756:35:    got void [noderef] <asn:2>*ioaddr
  drivers/net/ethernet/realtek/r8169.c:6763:35: sparse: incorrect type in argument 1 (different address spaces)
  drivers/net/ethernet/realtek/r8169.c:6763:35:    expected struct rtl8169_private *tp
  drivers/net/ethernet/realtek/r8169.c:6763:35:    got void [noderef] <asn:2>*ioaddr

vim +6756 drivers/net/ethernet/realtek/r8169.c
  6753		msleep(1);
  6754		RTL_W8(MCU, RTL_R8(MCU) & ~NOW_IS_OOB);
  6755	
> 6756		data = r8168_mac_ocp_read(ioaddr, 0xe8de);
  6757		data &= ~(1 << 14);
  6758		r8168_mac_ocp_write(tp, 0xe8de, data);
  6759	

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com>                     Intel Corporation

                 reply	other threads:[~2012-07-10  2:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20120710020236.GA8103@localhost \
    --to=wfg@linux.intel.com \
    --cc=kernel-janitors@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 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.