aboutsummaryrefslogtreecommitdiff
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@linux.dev>2024-03-11 12:28:00 -0400
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-08 18:26:57 +0100
commit89b898c627a49b978a4c323ea6856eacfc21f6ba (patch)
treedbba13b3dee31f55ee848b5150734e2a5892f784 /net/unix/garbage.c
parent8f40af31971ce012c0a4b13444900aed3f708edf (diff)
iio: xilinx-ams: Don't include ams_ctrl_channels in scan_mask
ams_enable_channel_sequence constructs a "scan_mask" for all the PS and PL channels. This works out fine, since scan_index for these channels is less than 64. However, it also includes the ams_ctrl_channels, where scan_index is greater than 64, triggering undefined behavior. Since we don't need these channels anyway, just exclude them. Fixes: d5c70627a794 ("iio: adc: Add Xilinx AMS driver") Signed-off-by: Sean Anderson <sean.anderson@linux.dev> Link: https://lore.kernel.org/r/20240311162800.11074-1-sean.anderson@linux.dev Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions