Luben Tuikov
6cb7a1d40a
drm/amdgpu: Fix a bug for input with double sscanf
...
Remove double-sscanf to scan for %llu and 0x%llx,
as that is not going to work!
The %llu will consume the "0" in "0x" of your
input, and the hex value you think you're entering
will always be 0. That is, a valid hex value can
never be consumed.
On the other hand, just entering a hex number
without leading 0x will either be scanned as a
string and not match, for instance FAB123, or
the leading decimal portion is scanned as the
%llu, for instance 123FAB will be scanned as 123,
which is not correct.
Thus remove the first %llu scan and leave only the
%llx scan, removing the leading 0x since %llx can
scan either.
Addresses are usually always hex values, so this
suffices.
Cc: Alexander Deucher <Alexander.Deucher@amd.com >
Cc: Xinhui Pan <xinhui.pan@amd.com >
Cc: Hawking Zhang <Hawking.Zhang@amd.com >
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com >
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-04-15 16:32:44 -04:00
..
2021-03-10 00:01:34 -05:00
2021-04-09 16:46:32 -04:00
2021-04-09 16:46:26 -04:00
2020-12-01 16:04:43 -05:00
2021-03-23 23:25:27 -04:00
2019-06-10 23:02:48 +02:00
2021-03-23 22:59:28 -04:00
2021-03-23 22:59:28 -04:00
2021-03-23 22:59:28 -04:00
2021-01-21 14:51:45 +01:00
2020-10-15 10:46:16 -07:00
2020-10-15 10:46:16 -07:00
2020-11-10 14:15:29 -05:00
2020-11-10 17:48:47 +10:00
2021-01-05 11:33:20 -05:00
2021-01-05 11:33:20 -05:00
2021-04-15 16:03:27 -04:00
2021-04-09 16:45:31 -04:00
2021-03-23 23:10:28 -04:00
2021-04-09 16:50:34 -04:00
2021-04-09 16:50:34 -04:00
2021-03-23 23:30:04 -04:00
2020-07-01 01:59:14 -04:00
2020-09-15 17:52:43 -04:00
2021-04-09 16:45:12 -04:00
2021-03-26 15:53:21 +01:00
2020-08-24 13:06:06 -04:00
2019-05-24 12:21:02 -05:00
2020-10-27 11:56:42 -04:00
2020-12-23 15:03:08 -05:00
2021-03-03 10:51:37 -05:00
2020-11-13 17:29:46 -05:00
2018-11-05 14:21:50 -05:00
2020-11-02 15:35:50 -05:00
2020-04-09 10:43:14 -04:00
2021-03-03 23:05:16 -05:00
2021-02-18 16:43:09 -05:00
2021-04-09 16:51:19 -04:00
2020-10-07 14:44:16 -04:00
2020-11-13 00:13:43 -05:00
2020-07-02 12:02:51 -04:00
2021-04-09 16:53:41 -04:00
2021-04-09 16:36:40 -04:00
2021-03-23 23:01:42 -04:00
2020-11-09 09:19:24 +01:00
2020-07-01 01:59:07 -04:00
2021-04-09 16:46:14 -04:00
2020-08-24 13:06:06 -04:00
2021-04-15 16:03:01 -04:00
2021-04-09 16:44:56 -04:00
2020-09-29 16:14:09 -04:00
2020-09-29 16:11:50 -04:00
2021-01-15 15:21:41 -05:00
2020-10-26 13:27:00 -04:00
2021-04-09 16:45:12 -04:00
2021-02-18 16:43:09 -05:00
2019-08-12 12:47:47 -05:00
2021-04-09 16:45:28 -04:00
2020-09-25 09:19:42 +02:00
2021-04-09 16:51:22 -04:00
2021-04-09 16:51:22 -04:00
2020-09-30 13:50:13 -04:00
2021-04-15 16:03:01 -04:00
2021-04-15 16:02:54 -04:00
2021-04-09 16:43:47 -04:00
2021-01-05 11:32:41 -05:00
2021-01-13 09:02:58 +01:00
2021-02-18 16:43:09 -05:00
2020-11-24 12:04:28 -05:00
2020-09-17 19:21:16 +02:00
2021-03-23 23:30:23 -04:00
2021-03-23 23:30:23 -04:00
2019-06-10 23:02:48 +02:00
2021-04-09 16:51:04 -04:00
2021-04-09 16:43:28 -04:00
2021-01-29 11:30:22 +01:00
2020-04-28 16:20:29 -04:00
2020-07-01 01:59:19 -04:00
2020-07-01 01:59:19 -04:00
2021-04-09 16:49:53 -04:00
2020-07-01 01:59:11 -04:00
2020-03-10 15:55:11 -04:00
2021-04-09 16:51:19 -04:00
2019-11-23 19:56:45 -04:00
2019-11-23 19:56:45 -04:00
2021-03-23 23:03:36 -04:00
2020-03-10 15:55:11 -04:00
2021-04-09 16:51:04 -04:00
2021-04-09 16:54:05 -04:00
2021-04-09 16:54:05 -04:00
2020-11-13 17:29:46 -05:00
2020-10-14 15:13:48 -04:00
2020-10-07 14:44:33 -04:00
2021-04-15 16:03:14 -04:00
2021-04-09 16:46:18 -04:00
2021-03-23 23:00:22 -04:00
2020-08-14 16:22:40 -04:00
2021-04-09 16:54:53 -04:00
2021-02-26 17:23:49 -05:00
2021-04-15 16:32:44 -04:00
2021-03-23 23:30:12 -04:00
2021-04-09 16:38:47 -04:00
2021-04-09 16:46:26 -04:00
2021-04-09 16:46:32 -04:00
2021-04-09 16:44:56 -04:00
2021-04-09 16:44:56 -04:00
2019-12-03 11:57:00 -05:00
2021-04-09 16:50:17 -04:00
2020-11-02 15:34:29 -05:00
2020-11-13 17:29:46 -05:00
2020-08-18 18:20:26 -04:00
2020-11-02 15:34:29 -05:00
2021-03-05 15:12:23 -05:00
2021-04-09 16:44:08 -04:00
2021-01-13 23:58:14 -05:00
2021-03-23 22:52:35 -04:00
2019-06-21 18:59:34 -05:00
2020-11-13 17:29:46 -05:00
2020-07-01 01:59:22 -04:00
2021-04-09 16:45:12 -04:00
2019-06-10 23:02:48 +02:00
2021-01-15 09:05:32 +10:00
2021-04-09 16:54:13 -04:00
2021-03-26 15:53:21 +01:00
2021-03-23 22:59:19 -04:00
2021-03-23 22:54:38 -04:00
2021-04-09 16:51:11 -04:00
2021-04-09 16:51:11 -04:00
2021-04-09 16:42:20 -04:00
2020-11-24 12:02:38 -05:00
2021-01-07 10:46:32 +01:00
2019-10-25 16:15:00 -04:00
2021-03-23 22:57:15 -04:00
2021-04-09 16:45:03 -04:00
2020-11-02 15:34:29 -05:00
2021-04-09 16:50:13 -04:00
2021-04-09 16:50:13 -04:00
2020-11-13 17:29:47 -05:00
2020-11-13 17:29:47 -05:00
2021-04-09 16:50:20 -04:00
2020-12-01 15:58:30 -05:00
2021-04-09 16:43:47 -04:00
2021-04-09 16:51:07 -04:00
2021-04-09 16:51:07 -04:00
2021-04-09 16:54:42 -04:00
2021-04-09 16:49:22 -04:00
2019-10-03 09:11:05 -05:00
2020-08-24 13:06:05 -04:00
2019-08-12 12:47:48 -05:00
2021-01-05 11:33:20 -05:00
2019-06-20 21:35:29 -05:00
2021-02-24 09:28:55 -05:00
2020-07-01 01:59:07 -04:00
2021-03-23 23:31:17 -04:00
2021-03-23 23:31:17 -04:00
2020-08-24 13:06:06 -04:00
2020-09-08 16:40:13 +10:00
2020-11-16 15:56:35 -05:00
2020-11-02 15:35:53 -05:00
2020-11-24 12:09:52 -05:00
2021-04-09 16:44:56 -04:00
2021-02-26 17:23:49 -05:00
2020-01-14 10:18:08 -05:00
2020-07-02 12:02:50 -04:00
2019-06-20 21:16:37 -05:00
2021-01-05 15:05:16 -05:00
2021-04-09 16:36:40 -04:00
2021-04-09 16:36:40 -04:00
2021-04-09 16:36:40 -04:00
2021-04-09 16:36:40 -04:00
2021-04-09 16:36:40 -04:00
2020-11-02 15:34:31 -05:00
2021-04-09 16:43:47 -04:00
2020-10-07 14:44:33 -04:00
2021-02-24 09:28:55 -05:00
2021-04-09 16:44:56 -04:00
2021-04-09 16:44:56 -04:00
2020-11-13 17:29:47 -05:00
2021-04-09 16:44:56 -04:00
2021-04-09 16:51:22 -04:00
2020-09-30 13:50:06 -04:00
2021-04-15 16:02:47 -04:00
2021-04-09 16:51:22 -04:00
2021-04-09 16:51:22 -04:00
2021-04-09 16:51:22 -04:00
2021-04-09 16:50:17 -04:00
2019-06-21 18:59:23 -05:00
2021-04-15 16:03:01 -04:00
2020-11-17 14:07:18 -05:00
2021-03-23 23:29:26 -04:00
2020-10-16 14:44:32 -04:00
2021-04-15 16:03:01 -04:00
2020-09-30 13:50:13 -04:00
2021-04-15 16:03:01 -04:00
2020-09-30 13:50:13 -04:00
2021-03-23 22:58:30 -04:00
2021-03-23 22:58:30 -04:00
2021-03-23 22:58:30 -04:00
2021-04-15 16:03:01 -04:00
2020-08-26 16:40:18 -04:00
2021-04-15 16:03:01 -04:00
2019-06-20 21:35:29 -05:00
2021-03-23 22:56:45 -04:00
2021-01-05 11:32:48 -05:00
2021-01-05 11:32:55 -05:00
2021-01-05 11:32:55 -05:00
2021-01-05 15:05:16 -05:00
2021-04-09 16:44:56 -04:00
2019-11-19 10:12:49 -05:00
2021-04-09 16:44:56 -04:00
2019-11-19 10:12:50 -05:00
2021-04-09 16:44:56 -04:00
2021-03-23 22:53:34 -04:00
2021-04-09 16:44:56 -04:00
2020-07-01 01:59:09 -04:00
2021-02-18 16:43:09 -05:00
2021-04-09 16:50:52 -04:00
2020-07-01 01:59:11 -04:00
2021-04-09 16:44:56 -04:00
2019-07-08 13:56:02 -05:00
2021-04-15 16:03:01 -04:00
2021-04-09 16:51:19 -04:00
2021-04-15 16:03:01 -04:00
2021-04-09 16:51:19 -04:00
2021-04-15 16:03:01 -04:00
2020-08-14 16:22:40 -04:00
2021-04-15 16:03:01 -04:00
2020-10-05 15:15:27 -04:00
2021-04-15 16:03:01 -04:00
2021-04-09 16:51:19 -04:00
2019-12-18 16:33:26 -05:00
2020-03-06 14:34:42 -05:00
2020-07-15 12:45:05 -04:00
2021-01-13 23:47:39 -05:00
2020-12-15 11:35:35 -05:00
2021-01-13 23:47:39 -05:00
2020-12-15 11:35:35 -05:00
2019-04-19 11:33:27 -05:00
2020-04-01 14:44:43 -04:00
2020-12-23 15:07:50 -05:00
2019-06-20 21:35:30 -05:00
2019-10-03 09:11:05 -05:00
2020-04-28 15:58:12 -04:00
2019-10-03 09:11:05 -05:00
2019-10-03 09:11:05 -05:00
2021-02-09 15:28:04 -05:00
2019-09-13 17:11:03 -05:00
2021-01-05 11:33:14 -05:00
2019-09-13 17:11:03 -05:00
2021-01-05 11:33:14 -05:00
2019-09-13 17:11:03 -05:00
2021-01-05 11:33:14 -05:00
2020-10-05 15:15:27 -04:00
2021-04-09 16:51:04 -04:00
2021-04-09 16:51:04 -04:00
2021-04-09 16:42:50 -04:00
2020-10-12 14:00:20 -04:00
2020-05-14 16:42:43 -04:00
2021-04-15 16:03:14 -04:00
2020-04-23 15:41:06 -04:00
2021-01-13 23:58:14 -05:00
2021-04-09 16:37:45 -04:00
2018-08-27 11:10:34 -05:00
2020-11-10 14:14:51 -05:00
2019-08-12 12:47:50 -05:00
2021-03-23 22:54:15 -04:00
2021-03-23 22:51:54 -04:00
2020-06-03 13:52:04 -04:00
2021-04-09 16:44:56 -04:00
2021-04-09 16:44:56 -04:00
2021-04-09 16:44:56 -04:00
2021-03-23 22:55:39 -04:00
2021-03-23 22:55:31 -04:00
2021-04-09 16:44:56 -04:00
2020-06-03 13:52:04 -04:00
2021-04-15 16:32:44 -04:00
2020-06-03 13:52:04 -04:00
2021-04-09 16:44:56 -04:00
2020-07-02 12:02:50 -04:00
2020-11-02 15:34:31 -05:00
2021-02-26 17:23:49 -05:00
2020-07-02 12:02:50 -04:00
2020-06-03 13:52:00 -04:00
2020-11-13 17:29:47 -05:00
2020-07-21 15:37:49 -04:00
2020-11-13 17:29:45 -05:00
2020-11-13 00:13:16 -05:00
2021-02-09 15:28:36 -05:00
2021-02-09 15:28:21 -05:00
2020-11-13 17:29:45 -05:00
2020-11-13 00:13:22 -05:00
2021-03-23 22:54:32 -04:00
2021-03-23 22:52:38 -04:00
2021-04-09 16:50:17 -04:00
2021-04-09 16:51:04 -04:00
2021-03-23 22:59:50 -04:00
2020-05-14 16:42:43 -04:00
2020-08-14 16:22:39 -04:00
2020-04-30 16:48:27 -04:00
2021-03-23 23:27:41 -04:00
2018-11-06 14:02:41 -05:00
2021-01-05 15:05:16 -05:00
2019-10-03 09:11:01 -05:00
2019-10-03 09:11:01 -05:00
2021-04-09 16:51:11 -04:00
2021-04-09 16:51:11 -04:00
2021-04-09 16:51:11 -04:00
2021-04-09 16:51:11 -04:00
2021-04-09 16:51:11 -04:00
2021-04-09 16:51:11 -04:00
2021-04-09 16:44:56 -04:00
2020-07-01 01:59:24 -04:00
2021-04-09 16:44:56 -04:00
2021-04-09 16:44:56 -04:00
2021-04-09 16:44:56 -04:00
2021-04-09 16:44:56 -04:00
2020-10-05 15:14:02 -04:00
2021-04-09 16:44:56 -04:00
2021-04-09 16:44:56 -04:00
2021-04-09 16:44:56 -04:00
2021-04-09 16:44:56 -04:00
2020-10-14 15:27:50 -04:00
2021-04-09 16:44:56 -04:00
2020-01-27 16:46:44 -05:00
2021-04-09 16:44:56 -04:00
2021-03-23 22:53:17 -04:00
2021-04-09 16:45:07 -04:00
2020-07-01 01:59:09 -04:00
2021-03-23 22:57:55 -04:00
2019-10-03 09:11:05 -05:00
2021-04-09 16:47:11 -04:00
2020-12-23 15:05:35 -05:00
2019-10-03 09:11:05 -05:00
2021-02-26 17:23:49 -05:00
2020-07-02 12:02:50 -04:00
2020-07-02 12:02:50 -04:00