mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +00:00
9795d8232a
The poll function should not return -ERESTARTSYS.
Furthermore, locking in this function is completely unnecessary. The
ddev->lock protects access to the main device and controller (ddev->dev
and ddev->ctrl), ensuring that both are and remain valid while being
accessed by clients. Both are, however, never accessed in the poll
function. The shutdown test (via atomic bit flags) be safely done
without locking, so drop locking here entirely.
Reported-by: kernel test robot <lkp@intel.com>
Fixes:
|
||
---|---|---|
.. | ||
aggregator | ||
Kconfig | ||
Makefile | ||
surface3_button.c | ||
surface3_power.c | ||
surface3-wmi.c | ||
surface_acpi_notify.c | ||
surface_aggregator_cdev.c | ||
surface_aggregator_registry.c | ||
surface_dtx.c | ||
surface_gpe.c | ||
surface_hotplug.c | ||
surface_platform_profile.c | ||
surfacepro3_button.c |