lpfc_aer_support_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_aer_support_store β€” a Kernel API Manual moment (yes, it's from the Kernel API Manual, bestie, we're fancy now)

okay so picture this: you're deep in the kernel docs, the vibes are immaculate, and you find this little function. Here's literally everything about it. No gatekeeping. 🫢


✨ NAME ✨

lpfc_aer_support_store β€” set the adapter for aer support 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

ssize_t lpfc_aer_support_store (struct device *dev , struct
device_attribute *attr , const char *buf , size_t count );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the class device, which gets converted into a Scsi_host. it's giving ✨glow up✨
  • attr β€” device attribute. not used. she's just there for the vibes πŸ™ˆ
  • buf β€” the string containing the enable or disable aer flag.
  • count β€” unused variable. iconic of her honestly πŸ’…

πŸ’– DESCRIPTION πŸ’–

so here's the tea: PCIe error reporting is already enabled by the PCI core, so drivers literally don't need to do anything. like, nothing. zero. zilch.

the interface is kept around purely for backwards compatibility β€” but it does nothing. no cap. it's a little ghost of a function, still showing up to the group chat, contributing zero messages. πŸ‘‘

do not expect this thing to actually toggle anything, bestie. it is a decorative little interface and that's the whole point.

🌈 RETURN 🌈

  • on success, it returns the length of buf πŸŽ‰
  • it returns -EINVAL if val is out of range πŸ’€

⭐ SEE ALSO ⭐

the friend group (kernel file ./drivers/scsi/lpfc/lpfc_attr.c, plus everyone below β€” and yes, we're listing every single one, we don't do skipped members here):


okay that's the whole page, you read it all, you're basically a kernel dev now, i'm obsessed with you πŸ§šβ€β™€οΈ

mwah πŸ’œ β€” this cutie lives in ./drivers/scsi/lpfc, and the manual is dated October 2026. go forth and do literally nothing with this function, exactly as intended. periodt. πŸŽ€

πŸ“¦ where this page comes from