RFC: fixup for mtdblock issue with erase warnings

Ben Dooks ben.dooks at codethink.co.uk
Wed Apr 26 10:46:08 PDT 2017


We have been running into a warning from __might_sleep() in the cfi erase
code. We think this is due to the mtdblock driver trying to sleep when an
operation is going to complete from the _erase callback.

If this patch is acceptable, it should probably go into stable as well as
the current release.

Note, currently being tested on v4.4.y




More information about the linux-mtd mailing list