Arnd Bergmann
993dc737c0
mfd: omap-usb-tll: Fix register offsets
...
gcc-8 notices that the register number calculation is wrong
when the offset is an 'u8' but the number is larger than 256:
drivers/mfd/omap-usb-tll.c: In function 'omap_tll_init':
drivers/mfd/omap-usb-tll.c:90:46: error: overflow in conversion from 'int' to 'u8 {aka unsigned char}' chages value from 'i * 256 + 2070' to '22' [-Werror=overflow]
This addresses it by always using a 32-bit offset number for
the register. This is apparently an old problem that previous
compilers did not find.
Fixes: 16fa3dc75c22 ("mfd: omap-usb-tll: HOST TLL platform driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2017-09-05 08:46:02 +01:00
..
2017-08-24 22:22:53 +02:00
2017-08-22 18:42:57 -07:00
2017-08-29 08:36:58 -07:00
2017-07-18 11:37:46 -07:00
2017-08-13 12:44:18 -07:00
2017-08-31 18:42:21 -07:00
2017-07-05 12:31:59 -07:00
2017-08-04 12:57:18 +02:00
2017-06-27 12:13:45 -06:00
2017-08-08 09:36:46 -07:00
2017-08-02 18:37:26 -07:00
2017-08-11 12:53:29 +02:00
2017-08-11 01:25:53 +02:00
2017-08-08 20:21:23 +10:00
2017-08-09 20:01:33 +08:00
2017-07-28 12:17:17 -07:00
2017-07-06 10:17:24 +09:00
2017-08-09 11:39:16 +05:30
2017-07-31 10:55:24 -03:00
2017-06-29 10:37:50 +02:00
2017-07-12 16:26:02 -07:00
2017-07-17 16:13:54 +02:00
2017-09-04 14:41:02 +01:00
2017-08-31 16:12:59 -07:00
2017-07-24 17:38:21 +02:00
2017-07-04 14:28:22 -07:00
2017-07-17 15:00:47 +02:00
2017-09-05 08:45:36 +01:00
2017-07-03 20:55:59 -07:00
2017-08-31 20:27:39 +02:00
2017-07-21 04:37:22 +01:00
2017-06-29 22:58:35 +02:00
2017-09-05 08:45:36 +01:00
2017-08-31 16:12:59 -07:00
2017-09-05 08:45:36 +01:00
2017-08-31 16:12:59 -07:00
2017-08-30 13:57:29 +02:00
2017-08-11 14:56:23 -07:00
2017-07-06 11:32:40 -07:00
2017-07-28 08:06:00 -06:00
2017-07-05 13:13:32 -07:00
2017-07-26 02:11:47 +02:00
2017-08-28 09:58:27 -04:00
2017-07-26 06:14:33 -04:00
2017-09-05 08:46:01 +01:00
2017-09-05 08:46:02 +01:00
2017-08-31 16:13:00 -07:00
2017-08-30 14:11:47 +02:00
2017-09-05 08:46:01 +01:00
2017-07-17 16:38:35 +02:00
2017-09-01 09:59:41 -07:00
2017-07-01 14:30:39 -07:00
2017-08-01 13:31:44 -04:00
2017-07-17 11:43:58 -07:00
2017-08-30 14:46:16 +02:00
2017-07-17 16:15:57 +02:00
2017-08-17 10:23:45 +02:00
2017-08-16 09:50:39 +02:00
2017-08-26 12:46:14 -07:00
2017-07-27 13:43:22 +01:00
2017-09-04 14:41:02 +01:00
2017-09-05 08:45:36 +01:00
2017-08-05 14:37:19 -07:00
2017-07-07 12:40:27 -07:00
2017-09-04 14:41:02 +01:00
2017-06-28 00:38:34 +02:00
2017-08-01 15:22:55 -07:00
2017-09-05 08:45:36 +01:00
2017-07-05 17:09:27 -07:00
2017-09-05 08:45:36 +01:00
2017-06-27 16:21:34 -07:00
2017-07-04 14:47:47 -07:00
2017-07-06 15:38:31 -07:00
2017-09-05 08:45:36 +01:00
2017-08-31 14:05:20 +02:00
2017-07-20 12:37:10 -07:00
2017-08-30 15:03:00 -07:00
2017-07-06 16:24:30 -07:00
2017-08-21 09:19:50 +02:00
2017-07-08 10:41:53 -07:00
2017-07-17 15:00:47 +02:00
2017-08-18 16:01:46 -07:00
2017-08-09 20:55:19 -07:00
2017-07-14 13:12:32 -07:00
2017-08-13 12:41:58 -07:00
2017-08-24 13:23:03 -07:00
2017-09-05 08:45:36 +01:00
2017-07-03 20:27:48 -07:00
2017-07-27 10:39:33 -06:00
2017-07-29 14:15:56 -07:00
2017-09-05 08:45:36 +01:00
2017-08-25 21:38:26 +03:00
2017-07-17 16:48:15 +02:00
2017-09-04 14:41:02 +01:00
2017-08-31 16:13:00 -07:00