HomeFreeBSD

[PPC] Add missing SLB allocation KASSERT

Description

[PPC] Add missing SLB allocation KASSERT

Although PPC SLB code doesn't handle allocation failures,
which are rare, in most places it asserts that the pointer
returned by uma_zalloc() is not NULL, making it easier to
identify the failure and avoiding an invalid pointer dereference.

This change simply adds a missing KASSERT in SLB code.

Details

Provenance
luporlAuthored on
Parents
rS349832: MFC r349321: Improve AHCI Enclosure Management and SES interoperation.
Branches
Unknown
Tags
Unknown