qcacmn: Resolve difference in pointer signedness

The control buffer element of socket buffer structure (sk_buff)
is of the data type char and the virtual address element of network
buffer control block structure is of the type unsigned char. The
current prototypes cause this pointer assignment with different
signedness.
Fix this by using appropriate type in the API definition.

Change-Id: Ic20ca29ce5d26a134ef295663632a5b7fd420954
CRs-Fixed: 3269690
此提交包含在:
Sreeramya Soratkal
2022-08-17 14:15:19 +05:30
提交者 Madan Koyyalamudi
父節點 6eebf44a9a
當前提交 351edebeae
共有 2 個檔案被更改,包括 3 行新增3 行删除

查看文件

@@ -2236,7 +2236,7 @@ static inline uint32_t __qdf_nbuf_tcp_seq(struct sk_buff *skb)
*
* Return: data pointer to typecast into your priv structure
*/
static inline uint8_t *
static inline char *
__qdf_nbuf_get_priv_ptr(struct sk_buff *skb)
{
return &skb->cb[8];