diff options
author | 2020-05-31 11:53:00 +0200 | |
---|---|---|
committer | 2020-06-01 12:31:36 +0100 | |
commit | 53d860952c8215cf9ae1ea33409c8cb71ad6ad3d (patch) | |
tree | f5e17c68e2d2f392f43dc4fabc850c7f2bb2b57a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge series "regmap: provide simple bitops and use them in a driver" from Bartosz Golaszewski <brgl@bgdev.pl> (diff) | |
download | wireguard-linux-53d860952c8215cf9ae1ea33409c8cb71ad6ad3d.tar.xz wireguard-linux-53d860952c8215cf9ae1ea33409c8cb71ad6ad3d.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions