public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vivek Goyal <vgoyal@in.ibm.com>
To: linux kernel mailing list <linux-kernel@vger.kernel.org>
Cc: Morton Andrew Morton <akpm@osdl.org>,
	Kumar Gala <galak@kernel.crashing.org>
Subject: [PATCH 2/3] 64 bit resources more drivers others changes
Date: Tue, 28 Mar 2006 17:28:27 -0500	[thread overview]
Message-ID: <20060328222827.GE20335@in.ibm.com> (raw)
In-Reply-To: <20060328222703.GD20335@in.ibm.com>



o Changes required to fix compilation warnings for drivers/* dir for 64bit
  resources. These changes came up due to cross-compilation on powerpc
  with CONFIG_PPC=32

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
---

 drivers/macintosh/macio_asic.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/macintosh/macio_asic.c~64bit-resources-more-drivers-others-changes drivers/macintosh/macio_asic.c
--- linux-2.6.16-mm2-64bit-res/drivers/macintosh/macio_asic.c~64bit-resources-more-drivers-others-changes	2006-03-28 16:15:13.000000000 -0500
+++ linux-2.6.16-mm2-64bit-res-root/drivers/macintosh/macio_asic.c	2006-03-28 16:16:08.000000000 -0500
@@ -428,10 +428,10 @@ static struct macio_dev * macio_add_one_
 
 	/* MacIO itself has a different reg, we use it's PCI base */
 	if (np == chip->of_node) {
-		sprintf(dev->ofdev.dev.bus_id, "%1d.%08lx:%.*s",
+		sprintf(dev->ofdev.dev.bus_id, "%1d.%016llx:%.*s",
 			chip->lbus.index,
 #ifdef CONFIG_PCI
-			pci_resource_start(chip->lbus.pdev, 0),
+			(unsigned long long)pci_resource_start(chip->lbus.pdev, 0),
 #else
 			0, /* NuBus may want to do something better here */
 #endif
_

  reply	other threads:[~2006-03-28 22:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-28 22:27 [PATCH 1/3] 64 bit resources arch powerpc changes Vivek Goyal
2006-03-28 22:28 ` Vivek Goyal [this message]
2006-03-28 22:30   ` [PATCH 3/3] 64 bit resources more sound changes Vivek Goyal

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=20060328222827.GE20335@in.ibm.com \
    --to=vgoyal@in.ibm.com \
    --cc=akpm@osdl.org \
    --cc=galak@kernel.crashing.org \
    --cc=linux-kernel@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