lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 7 Dec 2016 19:37:09 +0100 From: Alexandre Belloni <alexandre.belloni@...e-electrons.com> To: Amelie DELAUNAY <amelie.delaunay@...com> Cc: Mathieu Poirier <mathieu.poirier@...aro.org>, "a.zummo@...ertech.it" <a.zummo@...ertech.it>, "robh+dt@...nel.org" <robh+dt@...nel.org>, "mark.rutland@....com" <mark.rutland@....com>, "mcoquelin.stm32@...il.com" <mcoquelin.stm32@...il.com>, Alexandre TORGUE <alexandre.torgue@...com>, "linux@...linux.org.uk" <linux@...linux.org.uk>, "rtc-linux@...glegroups.com" <rtc-linux@...glegroups.com>, "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>, "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Gabriel FERNANDEZ <gabriel.fernandez@...com> Subject: Re: [PATCH 3/8] rtc: add STM32 RTC driver On 05/12/2016 at 10:43:14 +0100, Amelie DELAUNAY wrote : > >> + > >> + device_init_wakeup(&pdev->dev, true); > > > > What happens if device_init_wakeup() returns an error? > It means that RTC won't be able to wake up the board with RTC alarm. I can > add a warning for the user in this case ? > > There is exactly one driver ever checking the return value of device_init_wakeup(). It basically always succeeds. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Powered by blists - more mailing lists