diff options
| author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2014-06-06 12:47:44 -0600 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:05:16 -0700 |
| commit | 95106c070a701a56f3cde5c1506e3a0aeeaab7ff (patch) | |
| tree | 377e0b19511aa9ab466284884303c99e3f24aada | |
| parent | 7bca9efc313321ecdf7c50a618cf2364e812b5c4 (diff) | |
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>
| -rw-r--r-- | net/rmnet_data/rmnet_data_handlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rmnet_data/rmnet_data_handlers.c b/net/rmnet_data/rmnet_data_handlers.c index 44829ce56c1f..b21e229f4f5d 100644 --- a/net/rmnet_data/rmnet_data_handlers.c +++ b/net/rmnet_data/rmnet_data_handlers.c @@ -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; |
