Go to file
Jonathan Cameron 56352abb6a iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
BugLink: https://bugs.launchpad.net/bugs/1938199

[ Upstream commit 37eb8d8c64 ]

To make code more readable, use a structure to express the channel
layout and ensure the timestamp is 8 byte aligned.

Found during an audit of all calls of uses of
iio_push_to_buffers_with_timestamp()

Fixes: 37b1ba2c68 ("iio: proximity: as3935: fix buffer stack trashing")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Matt Ranostay <matt.ranostay@konsulko.com>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210501170121.512209-15-jic23@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2021-08-13 09:46:03 +02:00
Documentation clocksource: Retry clock read if long delays detected 2021-08-13 09:45:19 +02:00
LICENSES
arch MIPS: Fix PKMAP with 32-bit MIPS huge page support 2021-08-13 09:45:57 +02:00
block blk-wbt: make sure throttle is enabled properly 2021-08-13 09:45:34 +02:00
certs certs: Move load_system_certificate_list to a common function 2021-08-13 09:44:32 +02:00
crypto crypto: shash - avoid comparing pointers to exported functions under CFI 2021-08-13 09:45:08 +02:00
debian UBUNTU: update dkms package versions 2021-07-15 19:58:19 +02:00
debian.master UBUNTU: upstream stable to v5.4.131 2021-08-13 09:44:36 +02:00
drivers iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-08-13 09:46:03 +02:00
fs writeback: fix obtain a reference to a freeing memcg css 2021-08-13 09:45:56 +02:00
include net: lwtunnel: handle MTU calculation in forwading 2021-08-13 09:45:56 +02:00
init kbuild: add CONFIG_LD_IS_LLD 2021-08-13 09:44:14 +02:00
ipc
kernel rcu: Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread() 2021-08-13 09:45:58 +02:00
lib lib: vsprintf: Fix handling of number field widths in vsscanf 2021-08-13 09:45:14 +02:00
mm mm, futex: fix shared futex pgoff on shmem huge page 2021-08-13 09:44:31 +02:00
net net: sched: fix warning in tcindex_alloc_perfect_hash 2021-08-13 09:45:56 +02:00
samples samples/bpf: Fix the error return code of xdp_redirect's main() 2021-08-13 09:45:46 +02:00
scripts kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n' 2021-08-13 09:45:24 +02:00
security evm: fix writing <securityfs>/evm overflow 2021-08-13 09:45:24 +02:00
sound ALSA: hda/realtek: Apply LED fixup for HP Dragonfly G1, too 2021-08-13 09:44:38 +02:00
tools tc-testing: fix list handling 2021-08-13 09:45:49 +02:00
ubuntu
usr
virt KVM: do not allow mapping valid but non-reference-counted pages 2021-08-13 09:44:24 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Makefile: fix GDB warning with CONFIG_RELR 2021-08-13 09:45:07 +02:00
README
dropped.txt
snapcraft.yaml
update-version-dkms

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.