Re: [alsa-devel] [PATCH] ASoC: stm32: sai: fix invalid use of sizeof in stm32_sai_add_mclk_provider()

2018-10-30 Thread Mark Brown
On Sat, Oct 27, 2018 at 02:19:59AM +, Wei Yongjun wrote: > sizeof() when applied to a pointer typed expression gives the > size of the pointer, not that of the pointed data. Someone else already sent a fix for this. signature.asc Description: PGP signature

Re: [alsa-devel] [PATCH] ASoC: stm32: sai: fix invalid use of sizeof in stm32_sai_add_mclk_provider()

2018-10-30 Thread Mark Brown
On Sat, Oct 27, 2018 at 02:19:59AM +, Wei Yongjun wrote: > sizeof() when applied to a pointer typed expression gives the > size of the pointer, not that of the pointed data. Someone else already sent a fix for this. signature.asc Description: PGP signature

[PATCH] ASoC: stm32: sai: fix invalid use of sizeof in stm32_sai_add_mclk_provider()

2018-10-26 Thread Wei Yongjun
sizeof() when applied to a pointer typed expression gives the size of the pointer, not that of the pointed data. Fixes: 8307b2afd386 ("ASoC: stm32: sai: set sai as mclk clock provider") Signed-off-by: Wei Yongjun --- sound/soc/stm/stm32_sai_sub.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] ASoC: stm32: sai: fix invalid use of sizeof in stm32_sai_add_mclk_provider()

2018-10-26 Thread Wei Yongjun
sizeof() when applied to a pointer typed expression gives the size of the pointer, not that of the pointed data. Fixes: 8307b2afd386 ("ASoC: stm32: sai: set sai as mclk clock provider") Signed-off-by: Wei Yongjun --- sound/soc/stm/stm32_sai_sub.c | 2 +- 1 file changed, 1 insertion(+), 1