diff options
author | Philip Yang <[email protected]> | 2023-08-21 16:02:01 -0400 |
---|---|---|
committer | Christian König <[email protected]> | 2024-02-13 16:36:04 +0100 |
commit | b671cd3d456315f63171a670769356a196cf7fd0 (patch) | |
tree | cef3120600d427ad4fc3a88b03b8888e0863b671 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 2c80a2b715df75881359d07dbaacff8ad411f40e (diff) |
drm/prime: Support page array >= 4GB
Without unsigned long typecast, the size is passed in as zero if page
array size >= 4GB, nr_pages >= 0x100000, then sg list converted will
have the first and the last chunk lost.
Signed-off-by: Philip Yang <[email protected]>
Acked-by: Felix Kuehling <[email protected]>
Reviewed-by: Christian König <[email protected]>
CC: [email protected]
Signed-off-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions