[PATCH 2/2] ARM: at91: pm: switch to the PIE infrastructure

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Apr 4 03:02:05 PDT 2016


On Sun, Apr 03, 2016 at 09:23:54AM +0200, Alexandre Belloni wrote:
> -	/* Copy the pm suspend handler to SRAM */
> -	at91_suspend_sram_fn = fncpy(at91_suspend_sram_fn,
> -			&at91_pm_suspend_in_sram, at91_pm_suspend_in_sram_sz);

This is proper and correct use of fncpy().

-- 
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list