diff options
author | Zijun Hu <[email protected]> | 2024-07-24 21:54:48 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-07-31 14:54:55 +0200 |
commit | c0fd973c108cdc22a384854bc4b3e288a9717bb2 (patch) | |
tree | 76f73f09af939cd5f603d8360f76e1ad286c12ed /rust/helpers/workqueue.c | |
parent | 6d8249ac29bc23260dfa9747eb398ce76012d73c (diff) |
driver core: bus: Return -EIO instead of 0 when show/store invalid bus attribute
Return -EIO instead of 0 for below erroneous bus attribute operations:
- read a bus attribute without show().
- write a bus attribute without store().
Signed-off-by: Zijun Hu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions