aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-05-03 15:54:36 +0300
committerFelix Fietkau <nbd@nbd.name>2019-06-25 12:55:25 +0200
commitb1571a0e77d8cef14227af293c6dda1464a57270 (patch)
treecdf474bbcbea306af3768044726e09c68a0e2c5f /tools/perf/scripts/python/bin
parentmt76: move netif_napi_del in mt76_dma_cleanup (diff)
downloadlinux-b1571a0e77d8cef14227af293c6dda1464a57270.tar.gz
linux-b1571a0e77d8cef14227af293c6dda1464a57270.zip
mt76: Fix a signedness bug in mt7615_add_interface()
The problem is that "mvif->omac_idx" is a u8 so it can't be negative and the error handling won't work. The get_omac_idx() function returns -1 on error. Fixes: 04b8e65922f6 ("mt76: add mac80211 driver for MT7615 PCIe-based chipsets") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions