aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorCyril Chemparathy <[email protected]>2012-09-12 10:19:05 -0400
committerWill Deacon <[email protected]>2013-05-30 16:02:22 +0100
commit5b20c5b2f014ecc0a6310988af69cd7ede9e7c67 (patch)
tree2ce339c6d4ce7b0ecc3c1269934ce3d003f170b4 /net/lapb/lapb_in.c
parent82f667046ec895552caf2f7a4c6841c530bfc215 (diff)
ARM: fix type of PHYS_PFN_OFFSET to unsigned long
On LPAE machines, PHYS_OFFSET evaluates to a phys_addr_t and this type is inherited by the PHYS_PFN_OFFSET definition as well. Consequently, the kernel build emits warnings of the form: init/main.c: In function 'start_kernel': init/main.c:588:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'phys_addr_t' [-Wformat] This patch fixes this warning by pinning down the PFN type to unsigned long. Signed-off-by: Cyril Chemparathy <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Tested-by: Santosh Shilimkar <[email protected]> Tested-by: Subash Patel <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions