Re: [PATCH] net/m68k: Hydra Ethernet - print whole resource instead of start address

2010-08-30 Thread David Miller
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

[PATCH] net/m68k: Hydra Ethernet - print whole resource instead of start address

2010-08-30 Thread Geert Uytterhoeven
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 -

[PATCH] block/m68k: z2ram - correct printing of sector_t

2010-08-30 Thread Geert Uytterhoeven
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