提交 62508a5d 编写于 作者: A Arnd Bergmann

Merge tag 'renesas-pinmux2-for-v3.9' of...

Merge tag 'renesas-pinmux2-for-v3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/sh-pinmux

Bug fix from Magnus that resolves a regression introduced in pfc changes
queued up for 3.9.

* tag 'renesas-pinmux2-for-v3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  sh-pfc: sh_pfc_probe() sizeof() fix
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
...@@ -495,7 +495,7 @@ static int sh_pfc_probe(struct platform_device *pdev) ...@@ -495,7 +495,7 @@ static int sh_pfc_probe(struct platform_device *pdev)
if (info == NULL) if (info == NULL)
return -ENODEV; return -ENODEV;
pfc = devm_kzalloc(&pdev->dev, sizeof(pfc), GFP_KERNEL); pfc = devm_kzalloc(&pdev->dev, sizeof(*pfc), GFP_KERNEL);
if (pfc == NULL) if (pfc == NULL)
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册