Re: [PATCH 7/8] test: Fix pointer overrun in dm_test_devm_regmap()

2022-04-29 Thread Tom Rini
On Sun, Apr 03, 2022 at 10:39:14AM +, Andrew Scull wrote: > 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

Re: [PATCH 7/8] test: Fix pointer overrun in dm_test_devm_regmap()

2022-04-11 Thread Simon Glass
On Sun, 3 Apr 2022 at 04:39, Andrew Scull wrote: > > 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

[PATCH 7/8] test: Fix pointer overrun in dm_test_devm_regmap()

2022-04-03 Thread Andrew Scull
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 Cc: