aer_get_device_error_info(9)
π aer_get_device_error_info(9) π
okay so bestie, welcome to the Kernel API Manual moment β¨ This page is literally about aer_get_device_error_info(9) β the function that reads error status from dev and stores it to info. slay.
πΈ NAME πΈ
aer_get_device_error_info β read error status from dev and store it to info π«Ά
β¨ SYNOPSIS β¨
int aer_get_device_error_info (struct aer_err_info *info , int i );
π ARGUMENTS π
infoβ pointer to structure to store the error record πΎiβ index intoinfo->dev[]π’
π₯ RETURN π₯
1on success β0on error π
so yeah, check that return value, okay? iykyk.
π DESCRIPTION π
okay so the big note here is: info is reused among all error devices. Clear fields properly π§Όβ¨
bestie this is important β info gets reused among all error devices, so clear fields properly. no cap.
π¦ SEE ALSO π¦
go sip some strawberry tea and read these too π:
- Kernel file
./drivers/pci/pcie/aer.c enable_ecrc_checking(9)disable_ecrc_checking(9)pcie_set_ecrc_checking(9)pcie_ecrc_get_policy(9)pci_aer_raw_clear_status(9)add_error_device(9)is_error_source(9)find_source_device(9)pci_aer_unmask_internal_errors(9)pci_aer_handle_error(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)
byeeee bestie π signed off from ./drivers/pci/pcie, dated October 2026, for aer_get_device_error_info(9) β mwah π
β¨
π¦ 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