summaryrefslogtreecommitdiff
path: root/proto_ipv6_mobility_hdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_ipv6_mobility_hdr.c')
-rw-r--r--proto_ipv6_mobility_hdr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/proto_ipv6_mobility_hdr.c b/proto_ipv6_mobility_hdr.c
index 5ae5c7c..357dfb9 100644
--- a/proto_ipv6_mobility_hdr.c
+++ b/proto_ipv6_mobility_hdr.c
@@ -6,6 +6,7 @@
* IPv6 Mobility Header described in RFC6275
*/
+#include <inttypes.h>
#include <stdio.h>
#include <stdint.h>
#include <netinet/in.h> /* for ntohs() */
@@ -116,7 +117,7 @@ static void dissect_mobilityhdr_type_1_2(struct pkt_buff *pkt,
*message_data_len < 0)
return;
- tprintf("Init Cookie (0x%lx)", ntohll(type_1_2->init_cookie));
+ tprintf("Init Cookie (0x%"PRIx64")", ntohll(type_1_2->init_cookie));
dissect_mobility_options(pkt, message_data_len);
}
@@ -133,8 +134,8 @@ static void dissect_mobilityhdr_type_3_4(struct pkt_buff *pkt,
return;
tprintf("HN Index (%u) ", ntohs(type_3_4->nonce_index));
- tprintf("Init Cookie (0x%lx) ", ntohll(type_3_4->init_cookie));
- tprintf("Keygen Token (0x%lx)", ntohll(type_3_4->keygen_token));
+ tprintf("Init Cookie (0x%"PRIx64") ", ntohll(type_3_4->init_cookie));
+ tprintf("Keygen Token (0x%"PRIx64")", ntohll(type_3_4->keygen_token));
dissect_mobility_options(pkt, message_data_len);
}
_mask for the page allocation. ext4_mpage_readpages is the called from the page cache allocation path same as read_pages and read_cache_pages As I've noticed in my previous post I cannot say I would be happy about sprinkling mapping_gfp_mask all over the place and it sounds like we should drop gfp_mask argument altogether and use it internally in __add_to_page_cache_locked that would require all the filesystems to use mapping gfp consistently which I am not sure is the case here. From a quick glance it seems that some file system use it all the time while others are selective. Signed-off-by: Michal Hocko <mhocko@suse.com> Reported-by: Dave Chinner <david@fromorbit.com> Cc: "Theodore Ts'o" <tytso@mit.edu> Cc: Ming Lei <ming.lei@canonical.com> Cc: Andreas Dilger <andreas.dilger@intel.com> Cc: Oleg Drokin <oleg.drokin@intel.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ramfs')