summaryrefslogtreecommitdiff
path: root/drivers/md/dm-rq.c
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2024-07-24 21:54:48 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-31 14:54:55 +0200
commitc0fd973c108cdc22a384854bc4b3e288a9717bb2 (patch)
tree76f73f09af939cd5f603d8360f76e1ad286c12ed /drivers/md/dm-rq.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 <quic_zijuhu@quicinc.com> Link: https://lore.kernel.org/r/20240724-bus_fix-v2-1-5adbafc698fb@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/dm-rq.c')
0 files changed, 0 insertions, 0 deletions