Julia Lawall
a29adc04cb
drm/radeon: adjust tested variable
...
commit 3a61b527b4 upstream.
Check the variable that was most recently initialized.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/ )
// <smpl>
@@
expression x, y, f, g, e, m;
statement S1,S2,S3,S4;
@@
x = f(...);
if (\(<+...x...+>\&e\)) S1 else S2
(
x = g(...);
|
m = g(...,&x,...);
|
y = g(...);
*if (e)
S3 else S4
)
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr >
Reviewed-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-02-22 15:42:25 +01:00
..
2017-11-02 11:10:55 +01:00
2018-02-16 20:23:10 +01:00
2017-11-02 11:10:55 +01:00
2018-02-03 17:39:22 +01:00
2018-02-16 20:22:59 +01:00
2017-12-14 09:53:13 +01:00
2018-02-07 11:12:20 -08:00
2018-02-22 15:42:20 +01:00
2017-11-02 11:10:55 +01:00
2018-02-16 20:23:08 +01:00
2018-02-16 20:23:06 +01:00
2018-01-10 09:31:19 +01:00
2017-11-02 11:10:55 +01:00
2018-02-22 15:42:24 +01:00
2017-12-29 17:53:48 +01:00
2018-02-16 20:23:09 +01:00
2018-02-22 15:42:24 +01:00
2017-12-25 14:26:30 +01:00
2018-02-22 15:42:24 +01:00
2017-12-20 10:10:34 +01:00
2018-02-22 15:42:16 +01:00
2017-11-02 11:10:55 +01:00
2018-02-16 20:22:43 +01:00
2018-02-22 15:42:17 +01:00
2018-02-22 15:42:24 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-16 20:22:56 +01:00
2017-11-02 11:10:55 +01:00
2018-02-07 11:12:26 -08:00
2017-08-28 17:15:16 +02:00
2018-02-03 17:38:52 +01:00
2018-02-22 15:42:25 +01:00
2018-02-16 20:23:06 +01:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:20 +01:00
2018-02-22 15:42:24 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-03 17:39:07 +01:00
2017-12-17 15:08:00 +01:00
2017-11-04 15:01:50 +01:00
2018-02-07 11:12:20 -08:00
2018-02-22 15:42:15 +01:00
2018-02-03 17:39:24 +01:00
2018-01-10 09:31:21 +01:00
2017-12-14 09:53:05 +01:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:27 +01:00
2017-12-20 10:10:38 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:53:12 +01:00
2017-11-02 11:10:55 +01:00
2018-02-03 17:39:01 +01:00
2018-02-16 20:23:05 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:46 +01:00
2018-02-22 15:42:23 +01:00
2018-01-23 19:58:13 +01:00
2018-02-16 20:22:57 +01:00
2018-01-17 09:45:27 +01:00
2018-02-22 15:42:16 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:49 +01:00
2018-02-03 17:39:10 +01:00
2017-11-02 11:10:55 +01:00
2018-02-13 10:19:46 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:47 +01:00
2017-11-02 11:10:55 +01:00
2017-12-29 17:53:47 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-23 19:58:16 +01:00
2018-02-16 20:23:08 +01:00
2018-01-17 09:45:18 +01:00
2017-11-02 11:10:55 +01:00
2018-02-03 17:38:51 +01:00
2017-09-08 18:26:51 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:53:08 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-20 10:10:29 +01:00
2018-01-05 15:48:59 +01:00
2018-02-03 17:38:59 +01:00
2017-11-02 11:10:55 +01:00
2018-02-22 15:42:14 +01:00
2017-11-02 11:10:55 +01:00
2017-12-20 10:10:34 +01:00
2018-02-03 17:39:23 +01:00
2017-08-28 13:52:22 +02:00
2017-11-02 11:10:55 +01:00
2018-02-16 20:23:00 +01:00
2018-01-02 20:31:05 +01:00
2017-12-25 14:26:24 +01:00
2017-12-25 14:26:31 +01:00
2017-12-20 10:10:24 +01:00
2018-02-07 11:12:26 -08:00
2017-11-02 11:10:55 +01:00
2018-02-03 17:39:21 +01:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:29 +01:00
2018-02-13 10:19:47 +01:00
2018-02-22 15:42:24 +01:00
2017-08-29 08:52:51 -05:00
2017-12-14 09:52:48 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-16 20:23:04 +01:00
2017-11-02 10:04:46 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00