summaryrefslogtreecommitdiffstats
path: root/sound/soc/stm
diff options
context:
space:
mode:
authorJames Morris2018-12-17 20:24:28 +0100
committerJames Morris2018-12-17 20:24:28 +0100
commit8bd8ea195f6d135a8d85201116314eb5237ad7e7 (patch)
tree3ef99e468f0b4b13cc11002aa60c4451e326191b /sound/soc/stm
parentsecurity: fs: make inode explicitly non-modular (diff)
parentLinux 4.20-rc7 (diff)
downloadkernel-qcow2-linux-8bd8ea195f6d135a8d85201116314eb5237ad7e7.tar.gz
kernel-qcow2-linux-8bd8ea195f6d135a8d85201116314eb5237ad7e7.tar.xz
kernel-qcow2-linux-8bd8ea195f6d135a8d85201116314eb5237ad7e7.zip
Merge tag 'v4.20-rc7' into next-general
Sync with Linux 4.20-rc7, to pick up: Revert "ovl: relax permission checking on underlying layers"
Diffstat (limited to 'sound/soc/stm')
-rw-r--r--sound/soc/stm/stm32_sai_sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c
index ea05cc91aa05..211589b0b2ef 100644
--- a/sound/soc/stm/stm32_sai_sub.c
+++ b/sound/soc/stm/stm32_sai_sub.c
@@ -390,7 +390,7 @@ static int stm32_sai_add_mclk_provider(struct stm32_sai_sub_data *sai)
char *mclk_name, *p, *s = (char *)pname;
int ret, i = 0;
- mclk = devm_kzalloc(dev, sizeof(mclk), GFP_KERNEL);
+ mclk = devm_kzalloc(dev, sizeof(*mclk), GFP_KERNEL);
if (!mclk)
return -ENOMEM;