Dmitry Torokhov
fbefc5e7e6
Input: max77693-haptic - fix potential overflow
...
Expression haptic->pwm_dev->period * haptic->magnitude is of type
'unsigned int' and may overflow. We need to convert one of the operands
to u64 before multiplying, instead of casting result (potentially
overflown) to u64.
Reported by Coverity: CID 1248753
Acked-by : Jaewon Kim <jaewon02.kim@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-10-31 09:30:44 -07:00
..
2014-10-11 11:34:07 -07:00
2014-09-06 11:27:15 +09:00
2014-08-13 18:27:40 -06:00
2014-09-15 16:20:56 -07:00
2014-08-25 15:39:23 -04:00
2014-09-13 09:39:55 -07:00
2014-07-31 01:07:28 +02:00
2014-09-11 10:43:39 -07:00
2014-09-11 22:28:38 +09:30
2014-09-09 13:52:18 -07:00
2014-08-08 11:14:29 -07:00
2014-09-30 21:02:34 +02:00
2014-08-27 15:40:45 +01:00
2014-09-24 14:23:34 +08:00
2014-09-23 18:22:55 +05:30
2014-08-28 11:59:09 +05:30
2014-08-15 17:56:45 -06:00
2014-08-06 09:38:14 -07:00
2014-09-23 22:01:55 +01:00
2014-09-25 15:25:52 -07:00
2014-10-03 08:31:14 -07:00
2014-08-27 09:38:06 -07:00
2014-08-06 20:06:14 -07:00
2014-08-04 17:32:24 -07:00
2014-09-22 11:11:48 -07:00
2014-07-29 11:46:28 +03:00
2014-10-03 03:20:47 +02:00
2014-08-05 21:16:46 -07:00
2014-08-15 17:06:40 -04:00
2014-09-14 18:21:23 +01:00
2014-09-23 16:47:34 -07:00
2014-10-31 09:30:44 -07:00
2014-09-05 16:01:46 +02:00
2014-09-03 12:08:10 +00:00
2014-08-22 11:31:30 -07:00
2014-09-02 10:02:13 -07:00
2014-08-06 18:01:19 -07:00
2014-08-07 17:23:16 -07:00
2014-07-29 01:57:25 -07:00
2014-10-02 13:45:00 +10:00
2014-09-28 22:25:24 -03:00
2014-07-29 19:26:30 -05:00
2014-09-16 16:55:55 -04:00
2014-08-28 15:57:55 +01:00
2014-09-08 14:38:14 -07:00
2014-08-14 18:10:33 -06:00
2014-09-06 12:12:09 -07:00
2014-10-01 16:46:34 -04:00
2014-09-07 23:45:53 +02:00
2014-09-14 00:10:38 -04:00
2014-09-25 11:55:50 +01:00
2014-10-01 22:12:50 +02:00
2014-08-08 15:57:25 -07:00
2014-09-24 09:46:29 -07:00
2014-08-07 08:50:34 -07:00
2014-09-12 11:35:31 +05:30
2014-09-10 14:25:51 +02:00
2014-09-03 10:45:12 -07:00
2014-07-30 00:23:09 +02:00
2014-08-08 11:14:29 -07:00
2014-09-03 01:29:00 +02:00
2014-08-12 12:15:14 -06:00
2014-08-18 10:58:43 +02:00
2014-08-12 12:15:14 -06:00
2014-09-10 11:35:02 +01:00
2014-09-26 08:10:35 -07:00
2014-09-08 08:27:00 -07:00
2014-08-05 18:57:18 -07:00
2014-10-05 10:16:11 -07:00
2014-08-22 12:28:16 +09:00
2014-09-23 21:38:32 -07:00
2014-09-16 16:20:19 -07:00
2014-08-25 15:39:22 -04:00
2014-09-19 15:32:20 -07:00
2014-09-17 13:44:01 -07:00
2014-08-26 14:54:48 -07:00
2014-09-08 16:33:56 -07:00
2014-10-05 10:16:11 -07:00
2014-09-08 16:03:21 -07:00
2014-08-08 10:39:16 -06:00
2014-09-12 11:45:10 +03:00
2014-08-08 15:57:30 -07:00
2014-08-07 08:47:00 -07:00
2014-09-11 16:52:29 -07:00
2014-08-04 17:32:24 -07:00
2014-08-04 18:34:04 -07:00