diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-05-03 15:54:36 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-06-25 12:55:25 +0200 |
commit | b1571a0e77d8cef14227af293c6dda1464a57270 (patch) | |
tree | cdf474bbcbea306af3768044726e09c68a0e2c5f /Documentation/watchdog/watchdog-pm.txt | |
parent | 4875e34679ba259bb8fa6a3ac337d76c8b7283a9 (diff) | |
download | linux-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/watchdog/watchdog-pm.txt')
0 files changed, 0 insertions, 0 deletions