From: Randy Dunlap <randy.dunlap@oracle•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>, David Airlie <airlied@linux•ie>
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>
Subject: [PATCH -next] ati_pcigart: fix printk format warning
Date: Sun, 17 Jan 2010 15:15:40 -0800 [thread overview]
Message-ID: <20100117151540.43d03395.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20100114172047.406ebda8.sfr@canb.auug.org.au>
From: Randy Dunlap <randy.dunlap@oracle•com>
Fix ati_pcigart printk format warning:
drivers/gpu/drm/ati_pcigart.c:115: warning: format '%Lx' expects type 'long long unsigned int', but argument 3 has type 'dma_addr_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
---
drivers/gpu/drm/ati_pcigart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20100111.orig/drivers/gpu/drm/ati_pcigart.c
+++ linux-next-20100111/drivers/gpu/drm/ati_pcigart.c
@@ -113,7 +113,7 @@ int drm_ati_pcigart_init(struct drm_devi
if (pci_set_dma_mask(dev->pdev, gart_info->table_mask)) {
DRM_ERROR("fail to set dma mask to 0x%Lx\n",
- gart_info->table_mask);
+ (unsigned long long)gart_info->table_mask);
ret = 1;
goto done;
}
next prev parent reply other threads:[~2010-01-17 23:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-14 6:20 linux-next: Tree for January 14 Stephen Rothwell
2010-01-14 18:58 ` linux-next: Tree for January 14 (vmwgfx) Randy Dunlap
2010-01-17 23:13 ` [PATCH -next] staging/winbond: fix wbusb struct warnings/error Randy Dunlap
2010-01-17 23:15 ` Randy Dunlap [this message]
2010-01-17 23:17 ` linux-next: Tree for January 14 (drm header files) Randy Dunlap
2010-01-18 2:42 ` Stephen Rothwell
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=20100117151540.43d03395.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle$(echo .)com \
--cc=airlied@linux$(echo .)ie \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=sfr@canb$(echo .)auug.org.au \
/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