aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorZijun Hu <[email protected]>2024-07-24 21:54:48 +0800
committerGreg Kroah-Hartman <[email protected]>2024-07-31 14:54:55 +0200
commitc0fd973c108cdc22a384854bc4b3e288a9717bb2 (patch)
tree76f73f09af939cd5f603d8360f76e1ad286c12ed /rust/helpers/build_bug.c
parent6d8249ac29bc23260dfa9747eb398ce76012d73c (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/build_bug.c')
0 files changed, 0 insertions, 0 deletions