On Tue, Feb 04, 2025 at 02:04:35PM +0100, Jan Beulich wrote: > Have callers invoke pci_add_segment() directly instead: With radix tree > initialization moved out of the function, its name isn't quite > describing anymore what it actually does. > > Signed-off-by: Jan Beulich <[email protected]>
IMO I would rather not add the segment here, and just make sure that all callers that add segments have proper error reporting when it fails. Maybe alloc_pseg() should gain a printk on failure? Thanks, Roger.
