Commit 170d1a3
binder: fix offset calculation in debug log
The vma start address should be substracted from the buffer's user data
address and not the other way around.
Cc: Tiffany Y. Yang <[email protected]>
Cc: stable <[email protected]>
Fixes: 162c797 ("binder: avoid user addresses in debug logs")
Signed-off-by: Carlos Llamas <[email protected]>
Reviewed-by: Tiffany Y. Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 8e55352 commit 170d1a3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6373 | 6373 | | |
6374 | 6374 | | |
6375 | 6375 | | |
6376 | | - | |
| 6376 | + | |
6377 | 6377 | | |
6378 | 6378 | | |
6379 | 6379 | | |
| |||
0 commit comments