diff options
| author | Heinrich Schuchardt <[email protected]> | 2023-11-04 08:51:07 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-01-09 07:37:05 +0100 |
| commit | 1351cd3b4b1b18cafa4893a44378ca6b1d091c8e (patch) | |
| tree | 5d1b7f0c0567ea34219d64b1cd76aea0b6c23d0b /doc/develop/python_cq.rst | |
| parent | badef4cd4a9154776238cb1fad6d22bc93340303 (diff) | |
rng: detect RISC-V Zkr RNG device in bind method
The existence of devices should be checked in the bind method and not in
the probe method. Adjust the RISC-V Zkr RNG driver accordingly.
Use ENOENT (and not ENODEV) to signal that the device is not available.
Fixes: ceec977ba1a9 ("rng: Provide a RNG based on the RISC-V Zkr ISA extension")
Reported-by: Andre Przywara <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'doc/develop/python_cq.rst')
0 files changed, 0 insertions, 0 deletions
