edac_pci_create_generic_ctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– edac_pci_create_generic_ctl(9) πŸ’–

okay bestie, welcome to the Kernel API Manual corner of the group chat 🫢. We're talking about edac_pci_create_generic_ctl(9), and yes, the title is already giving β€œlong function name, main character energy” πŸ’….


🌸 NAME 🌸

edac_pci_create_generic_ctl β€” the original NAME blurb is literally blank, so no invented lore here, bestie 😭. It's just the function name and the manual-page hyphen. Iconic minimalism, lowkey.

✨ SYNOPSIS ✨

struct edac_pci_ctl_info * edac_pci_create_generic_ctl (struct device
       *dev , const char *mod_name );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” pointer to struct device;
  • mod_name β€” name of the PCI device

πŸ¦‹ DESCRIPTION πŸ¦‹

So this is a generic constructor for a PCI parity polling device ✨. Some systems have more than one domain of PCI busses β€” not me being dramatic, that's the manual. For systems with one domain, then this API will provide for a generic poller 🫢.

This routine calls the edac_pci_alloc_ctl_info for the generic device, with default values. Defaults? We love a no-fuss setup, periodt πŸ’….

🌈 RETURN 🌈

Pointer to struct edac_pci_ctl_info on success, NULL on failure. That's it, that's the vibe check: pointer = slay, NULL = not slay 😭.

⭐ SEE ALSO ⭐

Kernel file: ./drivers/edac/edac_pci.h β€” yes, the header is right there, bestie πŸ“.


mwah πŸ’‹ cute sign-off time: this page's source/version is ./drivers/edac, dated October 2026, and it's all for edac_pci_create_generic_ctl(9). Byeee πŸ§šπŸ’œ.

πŸ“¦ where this page comes from