RDMA/cxgb4: Address sparse warnings
Fixe the following types of sparse warnings - cast to pointer from integer of different size - cast from pointer to integer of different size - incorrect type in assignment (different base types) - incorrect type in argument 1 (different base types) - cast from restricted __be64 - cast from restricted __be32 Signed-off-by: Vipul Pandya <vipul@chelsio.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
此提交包含在:
@@ -797,7 +797,8 @@ static int c4iw_uld_rx_handler(void *handle, const __be64 *rsp,
|
||||
"RSS %#llx, FL %#llx, len %u\n",
|
||||
pci_name(ctx->lldi.pdev), gl->va,
|
||||
(unsigned long long)be64_to_cpu(*rsp),
|
||||
(unsigned long long)be64_to_cpu(*(u64 *)gl->va),
|
||||
(unsigned long long)be64_to_cpu(
|
||||
*(__force __be64 *)gl->va),
|
||||
gl->tot_len);
|
||||
|
||||
return 0;
|
||||
|
新增問題並參考
封鎖使用者