diag210_get_dev_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… diag210_get_dev_info β€” Kernel API Manual ✨

okay bestie, welcome to the Kernel API Manual entry for diag210_get_dev_info πŸŽ€ this one's short and sweet but it's lowkey doing main character work down in s390 land, so let's get into it πŸ¦‹


🌸 NAME 🌸

diag210_get_dev_info β€” grab device information via diag 0x210 ✨

πŸ”₯ SYNOPSIS πŸ”₯

int diag210_get_dev_info (struct ccw_device *cdev );

πŸ’– ARGUMENTS πŸ’–

  • cdev β€” ccw device πŸ‘‘ (that's the channel-command-word device you're asking about, no cap)

✨ DESCRIPTION ✨

okay so here's the whole vibe: this function returns zero on success, and non-zero otherwise πŸ’€ that's literally it, that's the tea πŸ“

so like β€” check the return value, bestie, that's the entire assignment πŸ™ˆ zero means slay, anything else means not slay 🫢

🌈 SEE ALSO 🌈


fr fr go read device_id.c if you wanna see how the sausage gets made β€” it's giving essential lore πŸ’œ

⭐ that's the whole page, bestie β€” brought to you by the fine folks in ./drivers/s390/cio, dated October 2026, and no i did not make that date up, it's literally right there 😭 periodt πŸ’…

πŸ“¦ where this page comes from