Skip to content
Commit 9b5271f3 authored by Changcheng Deng's avatar Changcheng Deng Committed by Felix Fietkau
Browse files

mt76: mt7921: fix boolreturn.cocci warning



./drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c: 223: 8-9: WARNING:
return of 0/1 in function 'mt7921s_tx_status_data' with return type bool

Return statements in functions returning bool should use true/false
instead of 1/0.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarChangcheng Deng <deng.changcheng@zte.com.cn>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 5b595b66
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment