diff options
author | Oliver Neukum <[email protected]> | 2020-09-16 21:15:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-09-17 08:40:56 +0200 |
commit | b85300173d027131ced9a654c506785f15cfdd6f (patch) | |
tree | 9042c615de1b31de2ea45b2bd3105fb83fd0b56a /scripts/gen_compile_commands.py | |
parent | 9ef8638bd8c7e06bee087a04af7950cbc6123828 (diff) |
driver core: force NOIO allocations during unplug
There is one overlooked situation under which a driver must not do IO to
allocate memory. You cannot do that while disconnecting a device. A
device being disconnected is no longer functional in most cases, yet IO
may fail only when the handler runs.
Signed-off-by: Oliver Neukum <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions