summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorAndrew Scull <[email protected]>2022-04-03 10:39:14 +0000
committerTom Rini <[email protected]>2022-04-29 11:11:36 -0400
commit7f58feae3fba07c349fe57e86ce8bd5cc2198f58 (patch)
tree5fc8c90e9205fce29a46d7eef8e6cfe9129cddf9 /doc/develop
parent49209da54f9580c80e96b5a33351d24d59599926 (diff)
test: Fix pointer overrun in dm_test_devm_regmap()
This tests calls regmap_read() which takes a uint pointer as an output parameter. The test was passing a pointer to a u16 which resulted in an overflow when the output was written. Fix this by following the regmap_read() API and passing a uint pointer instead. Signed-off-by: Andrew Scull <[email protected]> Cc: Simon Glass <[email protected]> Cc: Heinrich Schuchardt <[email protected]> Cc: Jean-Jacques Hiblot <[email protected]> Cc: Pratyush Yadav <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions