hos: pull missed se adjusted return values
And fix nogc patches.
This commit is contained in:
@@ -668,7 +668,7 @@ static bool _get_fs_exfat_compatible(link_t *info, u32 *hos_revision)
|
|||||||
if (strcmp((char *)ki->kip1->name, "FS"))
|
if (strcmp((char *)ki->kip1->name, "FS"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!se_sha_hash_256_oneshot(sha_buf, ki->kip1, ki->size))
|
if (se_sha_hash_256_oneshot(sha_buf, ki->kip1, ki->size))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
pkg2_get_ids(&kip_ids, &fs_ids_cnt);
|
pkg2_get_ids(&kip_ids, &fs_ids_cnt);
|
||||||
|
|||||||
@@ -542,7 +542,7 @@ const char *pkg2_patch_kips(link_t *info, char *patch_names)
|
|||||||
|
|
||||||
// Check if current KIP not hashed and hash it.
|
// Check if current KIP not hashed and hash it.
|
||||||
if (kip_hash[0] == 0)
|
if (kip_hash[0] == 0)
|
||||||
if (!se_sha_hash_256_oneshot(kip_hash, ki->kip1, ki->size))
|
if (se_sha_hash_256_oneshot(kip_hash, ki->kip1, ki->size))
|
||||||
memset(kip_hash, 0, sizeof(kip_hash));
|
memset(kip_hash, 0, sizeof(kip_hash));
|
||||||
|
|
||||||
// Check if kip is the expected version.
|
// Check if kip is the expected version.
|
||||||
|
|||||||
@@ -877,7 +877,7 @@ static const kip1_patch_t _fs_nogc_2200[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const kip1_patchset_t _fs_patches_2200[] = {
|
static const kip1_patchset_t _fs_patches_2200[] = {
|
||||||
{ "nogc", _fs_nogc_2100 },
|
{ "nogc", _fs_nogc_2200 },
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -889,7 +889,7 @@ static const kip1_patch_t _fs_nogc_2200_exfat[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const kip1_patchset_t _fs_patches_2200_exfat[] = {
|
static const kip1_patchset_t _fs_patches_2200_exfat[] = {
|
||||||
{ "nogc", _fs_nogc_2100_exfat },
|
{ "nogc", _fs_nogc_2200_exfat },
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user