qcacld-3.0: fix wlan_ipa_send_to_nw type
The only function called through this pointer type doesn't return a value and the caller doesn't check for a return value. Change the function pointer type to return void to fix a CFI failure due to a type mismatch: CFI failure (target: [<ffffff853ba7cee8>] hdd_ipa_send_skb_to_network+0x0/0x4 [wlan]): ... Call trace: __ubsan_handle_cfi_check_fail+0x50/0x58 __cfi_check+0x31fa0/0x3d5a4 [wlan] wlan_ipa_w2i_cb+0x5fc/0x8fc [wlan] ... Change-Id: I94f6bb0fc06acebde12cf80294999d9419296c4a CRs-Fixed: 2431600
Este commit está contenido en:
@@ -567,7 +567,7 @@ struct wlan_ipa_tx_desc {
|
||||
};
|
||||
|
||||
typedef int (*wlan_ipa_softap_xmit)(qdf_nbuf_t skb, qdf_netdev_t dev);
|
||||
typedef int (*wlan_ipa_send_to_nw)(qdf_nbuf_t skb, qdf_netdev_t dev);
|
||||
typedef void (*wlan_ipa_send_to_nw)(qdf_nbuf_t skb, qdf_netdev_t dev);
|
||||
|
||||
/* IPA private context structure definition */
|
||||
struct wlan_ipa_priv {
|
||||
|
Referencia en una nueva incidencia
Block a user