Commit ea686fe
drm/amdgpu: fix the warning about the expression (int)size - len
Converting size from size_t to int may overflow.
v2: keep reverse xmas tree order (Christian)
Signed-off-by: Jesse Zhang <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>1 parent 029c2b0 commit ea686fe
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2065 | 2065 | | |
2066 | 2066 | | |
2067 | 2067 | | |
2068 | | - | |
| 2068 | + | |
| 2069 | + | |
2069 | 2070 | | |
2070 | 2071 | | |
2071 | 2072 | | |
2072 | 2073 | | |
2073 | | - | |
| 2074 | + | |
2074 | 2075 | | |
2075 | 2076 | | |
2076 | 2077 | | |
| |||
0 commit comments