diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2013-11-03 01:25:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 13:57:34 -0500 |
commit | 95f5725870267aa819025237a14c2ccacd78b85b (patch) | |
tree | d1d106d102c3407ba6434cb9b4801c1f6dd4ae87 /drivers/hid/hid-roccat-kovaplus.c | |
parent | 405052f57cb5f3b7e6042c36c952d3980375fd5b (diff) |
HID: roccat: fix Coverity CID 141438
commit 7be63f20b00840a6f1c718dcee00855688d64acd upstream.
Add missing switch breaks.
Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid/hid-roccat-kovaplus.c')
-rw-r--r-- | drivers/hid/hid-roccat-kovaplus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hid/hid-roccat-kovaplus.c b/drivers/hid/hid-roccat-kovaplus.c index b8b37789b864..2c571dadf062 100644 --- a/drivers/hid/hid-roccat-kovaplus.c +++ b/drivers/hid/hid-roccat-kovaplus.c | |||
@@ -577,9 +577,13 @@ static void kovaplus_keep_values_up_to_date(struct kovaplus_device *kovaplus, | |||
577 | break; | 577 | break; |
578 | case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_CPI: | 578 | case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_CPI: |
579 | kovaplus->actual_cpi = kovaplus_convert_event_cpi(button_report->data1); | 579 | kovaplus->actual_cpi = kovaplus_convert_event_cpi(button_report->data1); |
580 | break; | ||
580 | case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_SENSITIVITY: | 581 | case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_SENSITIVITY: |
581 | kovaplus->actual_x_sensitivity = button_report->data1; | 582 | kovaplus->actual_x_sensitivity = button_report->data1; |
582 | kovaplus->actual_y_sensitivity = button_report->data2; | 583 | kovaplus->actual_y_sensitivity = button_report->data2; |
584 | break; | ||
585 | default: | ||
586 | break; | ||
583 | } | 587 | } |
584 | } | 588 | } |
585 | 589 | ||