diff options
| author | Thomas Hellström <[email protected]> | 2025-05-02 13:00:14 +0000 |
|---|---|---|
| committer | Thomas Hellström <[email protected]> | 2025-05-06 08:57:27 +0000 |
| commit | d4ad53adfe21df1464bae5ed916085a69d6ffb3d (patch) | |
| tree | e2f78c229eeae89f65e23e8d89395c47fb21434d /net/unix/af_unix.c | |
| parent | drm/ttm: Fix ttm_backup kerneldoc (diff) | |
| download | kernel-d4ad53adfe21df1464bae5ed916085a69d6ffb3d.tar.gz kernel-d4ad53adfe21df1464bae5ed916085a69d6ffb3d.zip | |
drm/ttm: Remove the struct ttm_backup abstraction
The abstraction was previously added to support separate
ttm_backup implementations.
However with the current implementation casting from a
struct file to a struct ttm_backup, we run into trouble since
struct file may have randomized the layout and gcc complains.
Remove the struct ttm_backup abstraction
Cc: [email protected]
Cc: Matthew Brost <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Christian König <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: Al Viro <[email protected]>
Reported-by: Kees Cook <[email protected]>
Closes: https://lore.kernel.org/dri-devel/[email protected]/T/#mb153ab9216cb813b92bdeb36f391ad4808c2ba29
Suggested-by: Christian König <[email protected]>
Fixes: 70d645deac98 ("drm/ttm: Add helpers for shrinking")
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
