Srinivas Kandagatla
dbec64b11c
gpio: wcd934x: Fix shift-out-of-bounds error
...
bit-mask for pins 0 to 4 is BIT(0) to BIT(4) however we ended up with BIT(n - 1)
which is not right, and this was caught by below usban check
UBSAN: shift-out-of-bounds in drivers/gpio/gpio-wcd934x.c:34:14
Fixes: 59c324683400 ("gpio: wcd934x: Add support to wcd934x gpio controller")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
2021-05-27 09:51:35 +02:00
..
2019-12-04 19:44:12 -08:00
2019-11-07 09:27:48 +01:00
2021-05-05 16:07:41 +02:00
2020-10-29 14:58:00 +01:00
2020-07-23 15:10:25 +02:00
2020-07-20 15:34:59 +02:00
2019-05-30 11:25:18 -07:00
2020-07-20 15:47:50 +02:00
2021-05-05 16:07:40 +02:00
2019-05-30 11:29:52 -07:00
2020-07-08 09:24:07 +02:00
2020-12-08 09:41:32 +01:00
2020-09-28 12:22:04 +02:00
2019-07-09 09:07:00 -07:00
2020-12-02 10:40:54 +01:00
2020-10-02 09:51:42 -07:00
2020-10-26 15:51:57 +01:00
2020-12-01 15:49:50 +01:00
2020-08-28 20:13:51 +02:00
2021-01-14 13:05:55 +00:00
2021-02-15 11:43:27 +01:00
2021-04-14 10:19:22 +01:00
2021-02-15 11:43:27 +01:00
2020-03-26 00:02:03 +01:00
2020-12-08 09:41:32 +01:00
2021-05-12 13:28:04 +02:00
2019-05-30 11:26:32 -07:00
2020-01-23 16:16:05 +01:00
2020-08-04 01:25:02 +02:00
2020-12-12 01:37:46 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-08-28 20:15:06 +02:00
2020-07-23 15:03:25 +02:00
2020-12-17 18:07:20 -08:00
2020-12-09 09:41:49 +01:00
2019-11-13 13:47:48 +01:00
2021-02-15 11:43:34 +01:00
2020-11-25 15:36:52 +01:00
2020-05-05 18:22:26 +02:00
2020-04-28 15:50:28 +02:00
2019-12-04 19:44:12 -08:00
2020-01-15 11:24:19 +01:00
2020-12-16 21:57:27 +01:00
2019-08-15 09:57:29 +02:00
2019-11-07 09:27:48 +01:00
2021-05-05 16:07:41 +02:00
2019-07-15 21:10:39 -07:00
2021-05-05 16:07:41 +02:00
2019-09-03 16:04:19 +02:00
2019-07-09 09:07:00 -07:00
2019-11-07 09:27:48 +01:00
2019-12-13 09:50:29 +01:00
2019-10-31 15:03:10 -07:00
2019-11-07 09:27:48 +01:00
2019-06-05 17:37:10 +02:00
2019-11-07 09:27:48 +01:00
2019-08-15 21:33:07 +02:00
2019-11-07 09:27:48 +01:00
2020-05-22 17:01:25 +02:00
2020-08-04 01:12:43 +02:00
2019-12-04 19:44:13 -08:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2021-02-15 11:43:29 +01:00
2019-07-29 00:03:52 +02:00
2020-05-18 09:15:16 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:29:19 -07:00
2019-11-03 19:54:53 +01:00
2021-02-15 11:43:31 +01:00
2020-06-30 17:00:11 +03:00
2020-07-08 09:24:08 +02:00
2020-07-08 09:24:08 +02:00
2020-04-28 22:41:25 +02:00
2020-07-16 15:07:18 +02:00
2021-03-26 14:56:19 +01:00
2021-04-09 14:54:23 -07:00
2021-05-05 16:07:41 +02:00
2019-06-05 17:37:06 +02:00
2020-12-05 22:41:22 +01:00
2020-03-25 09:50:45 +01:00
2021-02-15 11:43:31 +01:00
2020-11-18 08:52:22 +01:00
2021-05-05 16:07:41 +02:00
2021-05-05 12:39:29 -07:00
2019-05-30 11:29:52 -07:00
2021-03-08 11:59:17 +01:00
2020-07-16 14:35:12 +02:00
2021-02-18 15:52:44 +01:00
2020-07-21 19:12:57 +03:00
2020-07-23 15:11:26 +02:00
2020-11-06 15:19:44 +01:00
2020-08-28 20:15:51 +02:00
2020-04-14 16:23:46 +02:00
2020-07-08 09:24:07 +02:00
2020-05-25 11:14:36 +02:00
2021-03-22 17:59:51 +01:00
2019-05-30 11:29:52 -07:00
2021-02-15 11:43:27 +01:00
2019-10-29 15:12:52 +01:00
2021-05-05 16:07:40 +02:00
2019-11-07 09:27:48 +01:00
2021-03-29 12:20:07 +02:00
2019-11-07 09:27:48 +01:00
2020-07-08 09:24:07 +02:00
2019-11-07 09:27:48 +01:00
2021-05-05 16:07:40 +02:00
2020-12-09 15:17:24 +01:00
2020-09-09 12:59:15 +02:00
2021-02-15 11:43:26 +01:00
2020-08-31 18:06:28 +02:00
2019-06-05 17:37:06 +02:00
2020-10-28 15:51:27 +01:00
2020-08-18 21:32:28 +02:00
2020-07-08 09:24:08 +02:00
2019-12-12 17:09:50 +01:00
2020-10-13 10:09:33 -07:00
2021-05-12 13:56:43 +02:00
2021-02-15 11:43:30 +01:00
2020-01-15 11:18:29 +01:00
2019-05-30 11:29:19 -07:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-05-24 17:39:01 +02:00
2020-11-19 08:34:22 +00:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-06-19 17:09:55 +02:00
2020-03-02 08:52:55 +01:00
2019-08-23 09:41:18 +02:00
2019-08-05 11:26:58 +02:00
2021-02-15 11:43:26 +01:00
2019-06-27 15:56:51 +01:00
2021-02-15 11:43:29 +01:00
2021-05-27 09:51:35 +02:00
2021-02-15 11:43:32 +01:00
2020-07-23 15:08:55 +02:00
2020-05-18 09:16:31 +02:00
2019-11-07 09:27:48 +01:00
2020-01-29 09:51:36 -08:00
2021-05-12 13:54:53 +02:00
2019-08-15 09:55:07 +02:00
2020-11-30 17:36:36 +01:00
2019-12-09 10:40:18 +01:00
2019-06-19 17:09:55 +02:00
2020-12-02 10:41:02 +01:00
2021-05-05 16:07:40 +02:00
2021-03-26 14:56:18 +01:00
2021-01-27 15:52:13 +01:00
2020-11-05 15:35:40 +01:00
2020-11-16 11:27:33 +01:00
2021-03-26 14:56:18 +01:00
2021-01-27 16:04:10 +01:00
2021-03-31 20:32:38 +02:00
2020-07-12 10:22:00 +02:00
2021-03-26 14:56:19 +01:00
2020-12-09 15:17:24 +01:00
2021-05-05 12:39:29 -07:00
2021-05-05 12:39:29 -07:00
2021-02-15 11:43:32 +01:00