diff options
| author | Remo Senekowitsch <[email protected]> | 2025-06-11 10:29:04 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-06-12 22:58:53 +0000 |
| commit | 9bd791d9413b4b65e203c4ff84c8b8b2c8c3b770 (patch) | |
| tree | 9862a82ea1d4f5c010374a028d2a06ef1fea3fb8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | rust: device: Enable printing fwnode name and path (diff) | |
| download | kernel-9bd791d9413b4b65e203c4ff84c8b8b2c8c3b770.tar.gz kernel-9bd791d9413b4b65e203c4ff84c8b8b2c8c3b770.zip | |
rust: device: Introduce PropertyGuard
This abstraction is a way to force users to specify whether a property
is supposed to be required or not. This allows us to move error
logging of missing required properties into core, preventing a lot of
boilerplate in drivers.
It will be used by upcoming methods for reading device properties.
Tested-by: Dirk Behme <[email protected]>
Signed-off-by: Remo Senekowitsch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Use prelude::* to avoid build failure; move PropertyGuard below Display
impl of FwNode. - Danilo ]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
