Move the type of buffer address from unsigned char to void
Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
                return -ENXIO;
 
        if (!skb)
-               ring->va = (unsigned char *)desc_cb->buf + desc_cb->page_offset;
+               ring->va = desc_cb->buf + desc_cb->page_offset;
 
        /* Prefetch first cache line of first page
         * Idea is to cache few bytes of the header of the packet. Our L1 Cache
 
 
        u32 pull_len; /* head length for current packet */
        u32 frag_num;
-       unsigned char *va; /* first buffer address for current packet */
+       void *va; /* first buffer address for current packet */
 
        u32 flag;          /* ring attribute */