mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
qcacld-3.0: Fix implicit enum-enum-cast warnings
This fixes the following warning when building with newer clang:
error: implicit conversion from enumeration type
'A_STATUS' to different enumeration type 'QDF_STATUS' [-Werror,-Wimplicit-enum-enum-cast]
Change-Id: I84f9f9b0406fad6df74749cbcb2cb176d42525aa
Signed-off-by: angelomds42 <angelomds42@gmail.com>
This commit is contained in:
parent
629d9d7ba8
commit
b9f3e9838b
1 changed files with 2 additions and 2 deletions
|
|
@ -629,7 +629,7 @@ htt_h2t_rx_ring_cfg_msg_hl(struct htt_pdev_t *pdev)
|
|||
|
||||
pkt = htt_htc_pkt_alloc(pdev);
|
||||
if (!pkt)
|
||||
return A_ERROR; /* failure */
|
||||
return QDF_STATUS_E_FAILURE; /* failure */
|
||||
|
||||
/*
|
||||
* show that this is not a tx frame download
|
||||
|
|
@ -645,7 +645,7 @@ htt_h2t_rx_ring_cfg_msg_hl(struct htt_pdev_t *pdev)
|
|||
HTC_HEADER_LEN + HTC_HDR_ALIGNMENT_PADDING, 4, true);
|
||||
if (!msg) {
|
||||
htt_htc_pkt_free(pdev, pkt);
|
||||
return A_ERROR; /* failure */
|
||||
return QDF_STATUS_E_FAILURE; /* failure */
|
||||
}
|
||||
/*
|
||||
* Set the length of the message.
|
||||
|
|
|
|||
Loading…
Reference in a new issue