aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2025-07-22 20:54:21 +0000
committerJonathan Cameron <[email protected]>2025-08-11 20:35:01 +0000
commitde18e978d0cda23e4c102e18092b63a5b0b3a800 (patch)
tree7cbfdde00bf29cc27bb11de1ca18b56bfc74d22b /fs/btrfs/dev-replace.c
parentiio: accel: sca3300: fix uninitialized iio scan data (diff)
downloadkernel-de18e978d0cda23e4c102e18092b63a5b0b3a800.tar.gz
kernel-de18e978d0cda23e4c102e18092b63a5b0b3a800.zip
iio: proximity: isl29501: fix buffered read on big-endian systems
Fix passing a u32 value as a u16 buffer scan item. This works on little- endian systems, but not on big-endian systems. A new local variable is introduced for getting the register value and the array is changed to a struct to make the data layout more explicit rather than just changing the type and having to recalculate the proper length needed for the timestamp. Fixes: 1c28799257bc ("iio: light: isl29501: Add support for the ISL29501 ToF sensor.") Signed-off-by: David Lechner <[email protected]> Link: https://patch.msgid.link/20250722-iio-use-more-iio_declare_buffer_with_ts-7-v2-1-d3ebeb001ed3@baylibre.com Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions