add_error_device(9)
π add_error_device(9) π
ok so bestie, welcome to the Kernel API Manual β this page is literally all about add_error_device, which is the lil function that lists a device to be handled. That's the whole vibe. β¨
πΈ SYNOPSIS πΈ
int add_error_device (struct aer_err_info *e_info , struct pci_dev *dev
);
like yes, that's the whole signature, no cap π«Ά
π ARGUMENTS π
e_infoβ a pointer to the error info. it's giving "the receipts" πdevβ a pointer to thepci_devthat's getting added. the main character of this whole operation fr fr π
π¦ SEE ALSO π¦
ok so here's the whole friend group β they all live in the kernel file ./drivers/pci/pcie/aer.c and honestly? iconic lineup π
enable_ecrc_checking(9)disable_ecrc_checking(9)pcie_set_ecrc_checking(9)pcie_ecrc_get_policy(9)pci_aer_raw_clear_status(9)is_error_source(9)find_source_device(9)pci_aer_unmask_internal_errors(9)pci_aer_handle_error(9)aer_get_device_error_info(9)aer_isr_one_error_type(9)aer_isr_one_error(9)aer_isr(9)aer_irq(9)aer_enable_rootport(9)aer_disable_rootport(9)aer_remove(9)aer_probe(9)aer_root_reset(9)pcie_aer_init(9)
ngl that's a lot of siblings but they all slay in their own way πβ¨
k that's the page!! this lil gem lives in ./drivers/pci/pcie, dated October 2026, and it ate, no notes ππ bye bestie!! π§ββοΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms