summaryrefslogtreecommitdiffstats
path: root/Documentation/cma
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 /Documentation/cma
parent4875e34679ba259bb8fa6a3ac337d76c8b7283a9 (diff)
downloadlinux-stable-b1571a0e77d8cef14227af293c6dda1464a57270.tar.gz
linux-stable-b1571a0e77d8cef14227af293c6dda1464a57270.tar.bz2
linux-stable-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 'Documentation/cma')
0 files changed, 0 insertions, 0 deletions