commit | 34bd283396af1f05c43fa64d51378d38affb1cf1 | [log] [tgz] |
---|---|---|
author | Alan Tull <atull@kernel.org> | Wed Sep 12 09:43:23 2018 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Sep 30 08:49:55 2018 -0700 |
tree | 51ba04c6fbe0a5afbf97589873b738d49aa2b8d6 | |
parent | 41e270f6898e7502be9fd6920ee0a108ca259d36 [diff] |
fpga: do not access region struct after fpga_region_unregister A couple drivers were accessing the region struct after it had been freed. Save off the pointer to the mgr before the region struct gets freed. Signed-off-by: Alan Tull <atull@kernel.org> Acked-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>