diff options
| author | Dave Airlie <airlied@redhat.com> | 2025-08-22 23:45:22 +0300 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2025-08-22 23:45:53 +0300 |
| commit | f9915c391cf72789ec5b6d5966ba82c2bca5daa7 (patch) | |
| tree | 42f9e1d38a2c1c340dd9fcf3207a6f404ae1963a /include/linux | |
| parent | dbb2c3adc4a641d9f136005285bcbba15227249c (diff) | |
| parent | 1a2cf179e2973f6801c67397ecc987391b084bcf (diff) | |
| download | linux-f9915c391cf72789ec5b6d5966ba82c2bca5daa7.tar.xz | |
Merge tag 'drm-misc-fixes-2025-08-21' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
A bunch of fixes for 6.17:
- analogix_dp: devm_drm_bridge_alloc() error handling fix
- gaudi: Memory deallocation fix
- gpuvm: Documentation warning fix
- hibmc: Various misc fixes
- nouveau: Memory leak fixes, typos
- panic: u64 division handling on 32 bits architecture fix
- rockchip: Kconfig fix, register caching fix
- rust: memory layout and safety fixes
- tests: Endianness fixes
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Maxime Ripard <mripard@redhat.com>
Link: https://lore.kernel.org/r/20250821-economic-dandelion-rooster-c57fa9@houat
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/iosys-map.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/iosys-map.h b/include/linux/iosys-map.h index 4696abfd311c..3e85afe794c0 100644 --- a/include/linux/iosys-map.h +++ b/include/linux/iosys-map.h @@ -264,12 +264,7 @@ static inline bool iosys_map_is_set(const struct iosys_map *map) */ static inline void iosys_map_clear(struct iosys_map *map) { - if (map->is_iomem) { - map->vaddr_iomem = NULL; - map->is_iomem = false; - } else { - map->vaddr = NULL; - } + memset(map, 0, sizeof(*map)); } /** |
