Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177526396
D61482.1794630634.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
605 B
Referenced Files
None
Subscribers
None
D61482.1794630634.diff
View Options
diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c
--- a/sys/dev/asmc/asmc.c
+++ b/sys/dev/asmc/asmc.c
@@ -274,14 +274,13 @@
"Battery charge limit (0-100)");
}
- /* System state / board identity subtree. */
- if (asmc_sysctl_add_system(dev, sysctlctx) != 0)
- goto nosms;
-
if (asmc_key_getinfo(dev, ASMC_KEY_MBSS, NULL, NULL) == 0)
sc->sc_shutdown_tag = EVENTHANDLER_REGISTER(shutdown_pre_sync,
asmc_shutdown, dev, SHUTDOWN_PRI_FIRST);
+ /* System state / board identity subtree. */
+ (void)asmc_sysctl_add_system(dev, sysctlctx);
+
if (!sc->sc_has_sms)
goto nosms;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 14, 4:30 AM (4 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41709066
Default Alt Text
D61482.1794630634.diff (605 B)
Attached To
Mode
D61482: asmc: do not drop shutdown notification when the system node fails
Attached
Detach File
Event Timeline