Jens Thoms Toerring 53d860952c
regmap: fix alignment issue
The assembly and disassembly of data to be sent to or received from
a device invoke functions regmap_format_XX() and regmap_parse_XX()
that extract or insert data items from or into a buffer, using
assignments. In some cases the functions are called with a buffer
pointer with an odd address. On architectures with strict alignment
requirements this can result in a kernel crash. The assignments
have been replaced by functions that take alignment into account.

Signed-off-by: Jens Thoms Toerring <jt@toerring.de>
Link: https://lore.kernel.org/r/20200531095300.GA27570@toerring.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-06-01 12:31:36 +01:00
..
2020-06-01 12:31:36 +01:00
2020-01-29 10:18:20 -08:00
2020-03-31 10:05:01 -07:00
2020-03-30 18:06:39 -07:00
2019-08-15 17:38:11 +02:00
2018-07-07 17:54:29 +02:00
2017-12-11 08:50:05 +01:00