Kconfig error: Missing dependency for MEMSTICK_UNSAFE_RESUME

From: Sascha El-Sharkawy
Date: Tue Jun 14 2016 - 03:56:47 EST


Dear Kernel developers,

we detected a missing dependency inside the Kconfig model, which allows to configure Memstick support for power management (MEMSTICK_UNSAFE_RESUME) even if Power Management (PM) was disabled. We suggest to add a "depends on" constraint to the Kconfig model for semantical correctness and to simplify the configuration process by avoiding the configuration of unnecessary configuration options (patch is attached to this mail).
Without this dependency, a configuring user is not able to detect the divergence between the desired and real behavior of the kernel.
We also wrote a Bugzilla report for more details: https://bugzilla.kernel.org/show_bug.cgi?id=116871

Sincerely yours,
Sascha El-Sharkawy

-- -----------------------------------------------------------------------
Sascha El-Sharkawy, MSc
University of Hildesheim                    Tel.: +49 (0) 5121 / 883-40336 
Institute of Computer Science               Fax:  +49 (0) 5121 / 883-40337
Universitaetsplatz 1                           elscha@xxxxxxxxxxxxxxxxxxxxx
D-31141 Hildesheim, Germany               http://www.sse.uni-hildesheim.de

Attachment: MEMSTICK_UNSAFE_RESUME.patch
Description: MEMSTICK_UNSAFE_RESUME.patch