]> git.baikalelectronics.ru Git - kernel.git/commit
devcoredump: add scatterlist support
authorAviya Erenfeld <aviya.erenfeld@intel.com>
Thu, 14 Apr 2016 09:59:31 +0000 (11:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Apr 2016 18:20:32 +0000 (11:20 -0700)
commitced3013c388ede681a2de1798ff17ebfd54507bb
tree11d223946c04ca9bcdbbc8b0167297829dbb578e
parente15bce03c82a7183c086f631e1421762771f6fc7
devcoredump: add scatterlist support

Add scatterlist support (dev_coredumpsg) to allow drivers to avoid
vmalloc() like dev_coredumpm(), while also avoiding the module
reference that the latter function requires.

This internally uses dev_coredumpm() with function inside the
devcoredump module, requiring removing the const
(which touches the driver using it.)

Signed-off-by: Aviya Erenfeld <aviya.erenfeld@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devcoredump.c
drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c
include/linux/devcoredump.h