SUPERH platform development
 help / color / mirror / Atom feed
* GIT PULL] Renesas ARM-based SoC pinmux for v3.9 #2
@ 2013-02-16  2:25 Simon Horman
  2013-02-16  2:25 ` [PATCH] sh-pfc: sh_pfc_probe() sizeof() fix Simon Horman
  2013-02-16 10:34 ` GIT PULL] Renesas ARM-based SoC pinmux for v3.9 #2 Arnd Bergmann
  0 siblings, 2 replies; 4+ messages in thread
From: Simon Horman @ 2013-02-16  2:25 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Arnd,

The following changes since commit c3323806a67c0c656e27956b7340e37ba6c6968b:

  sh-pfc: Move sh_pfc.h from include/linux/ to driver directory (2013-01-25 09:24:31 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-pinmux2-for-v3.9

for you to fetch changes up to 8c43fcc7804fc4609ccd9fa021e21f5423db9d96:

  sh-pfc: sh_pfc_probe() sizeof() fix (2013-02-16 10:58:50 +0900)

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

----------------------------------------------------------------
Magnus Damm (1):
      sh-pfc: sh_pfc_probe() sizeof() fix

 drivers/pinctrl/sh-pfc/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] sh-pfc: sh_pfc_probe() sizeof() fix
  2013-02-16  2:25 GIT PULL] Renesas ARM-based SoC pinmux for v3.9 #2 Simon Horman
@ 2013-02-16  2:25 ` Simon Horman
  2013-02-16 10:34 ` GIT PULL] Renesas ARM-based SoC pinmux for v3.9 #2 Arnd Bergmann
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Horman @ 2013-02-16  2:25 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm@opensource.se>

Fix sizeof() usage in sh-pfc/core.c to allocate space
for the full data structure instead of a pointer.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/pinctrl/sh-pfc/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/sh-pfc/core.c b/drivers/pinctrl/sh-pfc/core.c
index d323c24f..970ddff 100644
--- a/drivers/pinctrl/sh-pfc/core.c
+++ b/drivers/pinctrl/sh-pfc/core.c
@@ -495,7 +495,7 @@ static int sh_pfc_probe(struct platform_device *pdev)
 	if (info = NULL)
 		return -ENODEV;
 
-	pfc = devm_kzalloc(&pdev->dev, sizeof(pfc), GFP_KERNEL);
+	pfc = devm_kzalloc(&pdev->dev, sizeof(*pfc), GFP_KERNEL);
 	if (pfc = NULL)
 		return -ENOMEM;
 
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: GIT PULL] Renesas ARM-based SoC pinmux for v3.9 #2
  2013-02-16  2:25 GIT PULL] Renesas ARM-based SoC pinmux for v3.9 #2 Simon Horman
  2013-02-16  2:25 ` [PATCH] sh-pfc: sh_pfc_probe() sizeof() fix Simon Horman
@ 2013-02-16 10:34 ` Arnd Bergmann
  2013-02-18  0:58   ` Olof Johansson
  1 sibling, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2013-02-16 10:34 UTC (permalink / raw)
  To: linux-arm-kernel

On Saturday 16 February 2013, Simon Horman wrote:
> Hi Olof, Hi Arnd,
> 
> The following changes since commit c3323806a67c0c656e27956b7340e37ba6c6968b:
> 
>   sh-pfc: Move sh_pfc.h from include/linux/ to driver directory (2013-01-25 09:24:31 +0900)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-pinmux2-for-v3.9
> 
> for you to fetch changes up to 8c43fcc7804fc4609ccd9fa021e21f5423db9d96:
> 
>   sh-pfc: sh_pfc_probe() sizeof() fix (2013-02-16 10:58:50 +0900)
> 
> ----------------------------------------------------------------
> Bug fix from Magnus that resolves a regression introduced in pfc changes
> queued up for 3.9.


Pulled into next/sh-pinux, thanks!

Olof, we haven't done an official handover, but since I have added a couple of
my own bug fixes in the past days, and I say no other updates from you, I decided
to take this one in. I'll also have a look if there are more fixes to take care
of over the weekend.

	Arnd

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GIT PULL] Renesas ARM-based SoC pinmux for v3.9 #2
  2013-02-16 10:34 ` GIT PULL] Renesas ARM-based SoC pinmux for v3.9 #2 Arnd Bergmann
@ 2013-02-18  0:58   ` Olof Johansson
  0 siblings, 0 replies; 4+ messages in thread
From: Olof Johansson @ 2013-02-18  0:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Feb 16, 2013 at 10:34:33AM +0000, Arnd Bergmann wrote:
> On Saturday 16 February 2013, Simon Horman wrote:
> > Hi Olof, Hi Arnd,
> > 
> > The following changes since commit c3323806a67c0c656e27956b7340e37ba6c6968b:
> > 
> >   sh-pfc: Move sh_pfc.h from include/linux/ to driver directory (2013-01-25 09:24:31 +0900)
> > 
> > are available in the git repository at:
> > 
> >   git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-pinmux2-for-v3.9
> > 
> > for you to fetch changes up to 8c43fcc7804fc4609ccd9fa021e21f5423db9d96:
> > 
> >   sh-pfc: sh_pfc_probe() sizeof() fix (2013-02-16 10:58:50 +0900)
> > 
> > ----------------------------------------------------------------
> > Bug fix from Magnus that resolves a regression introduced in pfc changes
> > queued up for 3.9.
> 
> 
> Pulled into next/sh-pinux, thanks!
> 
> Olof, we haven't done an official handover, but since I have added a couple of
> my own bug fixes in the past days, and I say no other updates from you, I decided
> to take this one in. I'll also have a look if there are more fixes to take care
> of over the weekend.

Ah, got to this email just now. Yep, no worries, I did run git remote update
before I started picking up new material so I noticed the checkins.


-Olof

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-18  0:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-16  2:25 GIT PULL] Renesas ARM-based SoC pinmux for v3.9 #2 Simon Horman
2013-02-16  2:25 ` [PATCH] sh-pfc: sh_pfc_probe() sizeof() fix Simon Horman
2013-02-16 10:34 ` GIT PULL] Renesas ARM-based SoC pinmux for v3.9 #2 Arnd Bergmann
2013-02-18  0:58   ` Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox