aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/s3fb.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-04-27 11:47:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-19 10:54:40 -0700
commit48633a6011b0bcbf2bf5a4071a5a55a4a3b45a94 (patch)
tree097d28fef3e0a69c486556f841674a63a81987b1 /drivers/video/s3fb.c
parent36d1c0c62aca74313a95f71c180c73a2eda80ea9 (diff)
ath9k: fix key allocation error handling for powersave keys
commit 4ef69d0394cba8caa9f75d3f2e53429bfb8b3045 upstream. If no keycache slots are available, ath_key_config can return -ENOSPC. If the key index is not checked for errors, it can lead to logspam that looks like this: "ath: wiphy0: keyreset: keycache entry 228 out of range" This can cause follow-up errors if the invalid keycache index gets used for tx. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/s3fb.c')
0 files changed, 0 insertions, 0 deletions