Compare commits

..

2 Commits

Author SHA1 Message Date
Ani Sinha 9532437d70
Merge 6df2c6d15a into 4b356c90dc 2024-11-23 15:12:53 +01:00
Ani Sinha 6df2c6d15a hwids: add a new efi firmware type of device entry
This change adds a new efi firmware type device entry for the .hwids section.
It also adds compile time validations for them.

Since currently there is only one device type (devicetree), chid_match()
compares the descriptor value of this device type directly and errors out for
other descriptors. Fix chid_match() to support the new device type.

While at it, add _DEVICE_TYPE_MAX to indicate maximum types of devices that
are supported currently.
2024-11-22 19:37:45 +05:30
1 changed files with 0 additions and 4 deletions

View File

@ -75,10 +75,6 @@ static int curl_glue_socket_callback(CURL *curl, curl_socket_t s, int action, vo
return 0;
}
/* Don't configure io event source anymore when the event loop is dead already. */
if (g->event && sd_event_get_state(g->event) == SD_EVENT_FINISHED)
return 0;
r = hashmap_ensure_allocated(&g->ios, &trivial_hash_ops);
if (r < 0) {
log_oom();