Skip to contentSkip to conversation

HID: roccat: Fixed Coverity CID 141438

PATCH Applied Stefan Achatz 2 participants 2 messages Nov 3, 2013 – Nov 4, 2013

Subsystems (2)
lore
Share & tools
lore

Stefan Achatz

author maintainer
#0 lore raw

PATCH 1/1 HID: roccat: Fixed Coverity CID 141438

---
 drivers/hid/hid-roccat-kovaplus.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/hid/hid-roccat-kovaplus.c +4 -0
index 0c8e1ef..9660477 100644
@@ -554,9 +554,13 @@ static void kovaplus_keep_values_up_to_date(struct kovaplus_device *kovaplus,
 		break;
 	case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_CPI:
 		kovaplus->actual_cpi = kovaplus_convert_event_cpi(button_report->data1);
+		break;
 	case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_SENSITIVITY:
 		kovaplus->actual_x_sensitivity = button_report->data1;
 		kovaplus->actual_y_sensitivity = button_report->data2;
+		break;
+	default:
+		break;
 	}
 }
 
Signature · 1 line
1.7.3.4
Applied
#1 lore raw

Applied, thanks Stefan.

Signature · 2 lines
Jiri Kosina
SUSE Labs