[OpenWrt-Devel] [PATCH procd 2/2] state: fix reboot causing shutdown inside LXC container
por at oranjevos.nl
Thu Jan 23 13:19:33 EST 2020
Op 23 jan. 2020, om 15:58 heeft Petr Štetiar <ynezz at true.cz> het volgende geschreven:
> On January 23, 2020 1:04:16 PM UTC, Paul Oranje <por at oranjevos.nl> wrote:
>> Suggestion: log of this unexpected condition or even stronger, an
> All logging is killed already, logging just to serial console won't cut it, assert is overkill, which needs compiler flags/ifdef fiddling and who knows how that would behave in different environments.
Okay, did not think about the impact of this stdclib call.
> I could split it into separate functions if that implicit return would be more acceptable for you. It just seems overkill to me, just to make both of us satisfied :-)
Right, it's not really worth the trouble, it's just kind of aesthetic thing.
>> Decorating perform_halt() with the _Noreturn function specifier might
> Ok, I like this one.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel