ashmem_pin_unpin() reads asma->file and asma->size before taking the
ashmem_mutex, so it can race with other operations that modify them.
Build-tested only.
Cc: sta...@vger.kernel.org
Signed-off-by: Ben Hutchings
---
drivers/staging/android/ashmem.c | 19 +++
1 file changed, 11
iio_dev->mlock is to be used only by the IIO core for protecting
device mode changes between INDIO_DIRECT and INDIO_BUFFER.
This patch replaces the use of mlock with the already established
buf_lock mutex.
Introducing 'unlocked' forms of read and write registers. The
read/write frequency function
> Corentin Labbe hat am 1. Februar 2018 um 21:39
> geschrieben:
>
>
> All thoses files are not used by anybody.
> Lets just remove them.
>
> Signed-off-by: Corentin Labbe
> ---
> .../interface/vchiq_arm/vchiq_build_info.h | 37 --
> .../interface/vchiq_arm/vchiq_memdrv.h
[add Phil]
> Arnd Bergmann hat am 2. Februar 2018 um 16:01 geschrieben:
>
>
> There are two incompatible definitions of 'vchiq_instance_struct', so
> passing them through vchiq_initialise(), vchiq_connect() or another
> such interface is broken, as shown by building the driver with link-time
>