# Re: \[PATCH\] xsysace: use resource\_size\_t instead of unsigned long

- From: Stephen Rothwell \<hidden\>
- Date: 2008-11-13 10:21:48 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2008/11/1173998
- Thread: https://ratatoskr.run/lkml/2008/11/1173982/t.md

```text
Hi Yuri,

On Thu, 13 Nov 2008 11:43:17 +0300 Yuri Tikhonov [ref] wrote:
>
> -	dev_dbg(ace->dev, "physaddr=0x%lx irq=%i\n", ace->physaddr, ace->irq);
> +	dev_dbg(ace->dev, "physaddr=0x%llx irq=%i\n", (u64)ace->physaddr, ace->irq);

You should cast the physaddr to "unsigned long long" as "u64" is
"unsigned long" on some architectures.  The same is needed in other
places as well.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
```

## Attachments

- [(unnamed)](https://ratatoskr.run/linuxppc-dev/2008/11/1173998/attachment/0) (application/pgp-signature, 197 bytes)
