mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
34e022d8b7
The call to of_find_node_by_phandle returns a node pointer with refcount incremented thus it must be explicitly decremented after the last usage. Detected by coccinelle with the following warnings: ./drivers/net/wireless/mediatek/mt76/eeprom.c:58:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 48, but without a corresponding object release within this function. ./drivers/net/wireless/mediatek/mt76/eeprom.c:61:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 48, but without a corresponding object release within this function. ./drivers/net/wireless/mediatek/mt76/eeprom.c:67:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 48, but without a corresponding object release within this function. ./drivers/net/wireless/mediatek/mt76/eeprom.c:70:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 48, but without a corresponding object release within this function. ./drivers/net/wireless/mediatek/mt76/eeprom.c:72:1-7: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 48, but without a corresponding object release within this function. Signed-off-by: Wen Yang <wen.yang99@zte.com.cn> Cc: Felix Fietkau <nbd@nbd.name> Cc: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> Cc: Kalle Valo <kvalo@codeaurora.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Kalle Valo <kvalo@codeaurora.org> |
||
---|---|---|
.. | ||
mt76x0 | ||
mt76x2 | ||
mt7603 | ||
agg-rx.c | ||
debugfs.c | ||
dma.c | ||
dma.h | ||
eeprom.c | ||
Kconfig | ||
mac80211.c | ||
Makefile | ||
mcu.c | ||
mmio.c | ||
mt76.h | ||
mt76x02_debugfs.c | ||
mt76x02_dfs.c | ||
mt76x02_dfs.h | ||
mt76x02_dma.h | ||
mt76x02_eeprom.c | ||
mt76x02_eeprom.h | ||
mt76x02_mac.c | ||
mt76x02_mac.h | ||
mt76x02_mcu.c | ||
mt76x02_mcu.h | ||
mt76x02_mmio.c | ||
mt76x02_phy.c | ||
mt76x02_phy.h | ||
mt76x02_regs.h | ||
mt76x02_trace.c | ||
mt76x02_trace.h | ||
mt76x02_txrx.c | ||
mt76x02_usb_core.c | ||
mt76x02_usb_mcu.c | ||
mt76x02_usb.h | ||
mt76x02_util.c | ||
mt76x02.h | ||
trace.c | ||
trace.h | ||
tx.c | ||
usb_trace.c | ||
usb_trace.h | ||
usb.c | ||
util.c | ||
util.h |