From: Geert Uytterhoeven
Date: Mon, 30 Aug 2010 09:43:46 +0200 (CEST)
> resource_size_t changed from `unsigned long' to `phys_addr_t`, which is either
> `u32' or `u64'.
> Print the whole resource to remove the cast and to make it future-proof.
>
> Signed-off-by: Geert Uytterhoeven
Applied to n
resource_size_t changed from `unsigned long' to `phys_addr_t`, which is either
`u32' or `u64'.
Print the whole resource to remove the cast and to make it future-proof.
Signed-off-by: Geert Uytterhoeven
---
drivers/net/hydra.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff -
If CONFIG_LBDAF=y, `sector_t' becomes `u64' instead of `unsigned long':
drivers/block/z2ram.c: In function ‘do_z2_request’:
drivers/block/z2ram.c:83: warning: format ‘%lu’ expects type ‘long unsigned
int’, but argument 2 has type ‘sector_t’
Hence always cast it to `unsigned long long' for printi