From: Johannes Berg <johannes.berg@xxxxxxxxx> Changed upstream by commit 522566376a3f ("devcoredump: add scatterlist support"). Change-Id: I9a8e933ed70ac85ebc0c241a3faa78217fbb6f30 Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- patches/backport-adjustments/devcoredump.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/backport-adjustments/devcoredump.patch b/patches/backport-adjustments/devcoredump.patch index b438f32e115b..efa5d9f9ab48 100644 --- a/patches/backport-adjustments/devcoredump.patch +++ b/patches/backport-adjustments/devcoredump.patch @@ -103,12 +103,12 @@ -#ifdef CONFIG_DEV_COREDUMP +#ifdef CPTCFG_BPAUTO_WANT_DEV_COREDUMP - void dev_coredumpv(struct device *dev, const void *data, size_t datalen, + void dev_coredumpv(struct device *dev, void *data, size_t datalen, gfp_t gfp); @@ -30,6 +30,6 @@ dev_coredumpm(struct device *dev, struct { - free(data); + _devcd_free_sgtable(table); } -#endif /* CONFIG_DEV_COREDUMP */ +#endif /* CPTCFG_BPAUTO_WANT_DEV_COREDUMP */ -- 2.8.0.rc3 -- To unsubscribe from this list: send the line "unsubscribe backports" in