net: rmnet_data: modify the packet logging

skb->tail and skb->end are defined as character pointers in 32 bit
environments and as integers in other environments. Fix compilation
issues seen in the packet logging functions as a result of the data
type mismtach in 64 bit environments.

CRs-fixed: 665364
Change-Id: Ie70e01ce0678947d9c8cd924fe99b89ce319d4e5
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
This commit is contained in:
Subash Abhinov Kasiviswanathan 2014-06-06 12:47:44 -06:00
parent 1559d92364
commit b8e4482976
1 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,8 @@ void rmnet_print_packet(const struct sk_buff *skb, const char *dev, char dir)
return;
pr_err("[%s][%c] - PKT skb->len=%d skb->head=%p skb->data=%p skb->tail=%p skb->end=%p\n",
dev, dir, skb->len, skb->head, skb->data, (void *)skb->tail,
(void *)skb->end);
dev, dir, skb->len, (void *)skb->head, (void *)skb->data,
skb_tail_pointer(skb), skb_end_pointer(skb));
if (skb->len > 0)
len = skb->len;