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.

Reply via email to