android_kernel_xiaomi_sm8350/kernel/power
Rafael J. Wysocki 254b54771c [PATCH] swsusp: remove wrong code from data_free
The following patch removes some wrong code from the data_free() function
in swsusp.

This function could only be called if there's an error while writing the
suspend image to swap, so it is not triggered easily.  However, if
triggered, it would probably corrupt some memory.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-28 07:46:40 -07:00
..
console.c
disk.c [PATCH] suspend: cleanup calling of power off methods. 2005-09-22 22:17:33 -07:00
Kconfig [PATCH] SOFTWARE_SUSPEND needs HOTPLUG_CPU on SMP 2005-09-22 22:17:34 -07:00
main.c [PATCH] pm: clean up /sys/power/disk 2005-09-05 00:06:18 -07:00
Makefile
pm.c [PATCH] introduce and use kzalloc 2005-09-07 16:57:45 -07:00
power.h [PATCH] swsusp: fix comments 2005-09-22 22:17:36 -07:00
poweroff.c
process.c [PATCH] pm: fix process freezing 2005-09-05 00:06:17 -07:00
smp.c [PATCH] Address BUG: using smp_processor_id() in preemptible [00000001] code 2005-07-27 16:25:50 -07:00
swsusp.c [PATCH] swsusp: remove wrong code from data_free 2005-09-28 07:46:40 -07:00