Skip to content

Commit 7a1625c

Browse files
crojewsk-intelbroonie
authored andcommitted
ASoC: Intel: avs: Fix debug window description
Recent changes addressed PAGE_SIZE ambiguity in 2/3 locations for struct avs_icl_memwnd2. The unaddressed one causes build errors when PAGE_SIZE != SZ_4K. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202404070100.i3t3Jf7d-lkp@intel.com/ Fixes: 275b583 ("ASoC: Intel: avs: ICL-based platforms support") Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://msgid.link/r/20240408081840.1319431-1-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent fec50db commit 7a1625c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/intel/avs/icl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ struct avs_icl_memwnd2_desc {
6464
struct avs_icl_memwnd2 {
6565
union {
6666
struct avs_icl_memwnd2_desc slot_desc[AVS_ICL_MEMWND2_SLOTS_COUNT];
67-
u8 rsvd[PAGE_SIZE];
67+
u8 rsvd[SZ_4K];
6868
};
6969
u8 slot_array[AVS_ICL_MEMWND2_SLOTS_COUNT][PAGE_SIZE];
7070
} __packed;

0 commit comments

Comments
 (0)