HomeFreeBSD

linuxkpi: Define `dev_err_probe*()`

Description

linuxkpi: Define dev_err_probe*()

They differ from other dev_*() logging functions by returning the
passed error code. The error code is also used to determine if the
message should be logged in the first place and at which log level.

The DRM generic code started to use it in Linux 6.12.

Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56435

Details

Provenance
dumbbellAuthored on Apr 11 2026, 9:40 AM
Reviewer
bz
Differential Revision
D56435: linuxkpi: Define `dev_err_probe*()`
Parents
rGad528a6b174e: linuxkpi: Define diagnostic macros like `might_resched()` or `cant_sleep()`
Branches
Unknown
Tags
Unknown