summaryrefslogtreecommitdiff
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorMattia Dongili <malattia@linux.it>2012-12-20 22:21:09 (GMT)
committerMatthew Garrett <matthew.garrett@nebula.com>2013-01-07 17:32:38 (GMT)
commitdcbeec264d73b7228ffdfe767eab69b2353099b1 (patch)
tree84d6c44f6f6dd5b01791c80a162d3c959224169e /mm/huge_memory.c
parente04c200f1f2de8eaa2f5af6d97e7e213a1abb424 (diff)
downloadlinux-fsl-qoriq-dcbeec264d73b7228ffdfe767eab69b2353099b1.tar.xz
sony-laptop: fix SNC buffer calls when SN06 returns Integers
SN06 in some cases returns an Integer instead of a buffer. While the code handling the return value was trying to cope with the difference, the memcpy call was not making any difference between the two types of acpi_object union. This regression was introduced in 3.5. While there also rework the return value logic to improve readability. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=48671 Cc: <stable@vger.kernel.org> Cc: Fabrizio Narni <shibotto@gmail.com> Cc: <mus.svz@gmail.com> Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions