summaryrefslogtreecommitdiffstats
path: root/net/caif/caif_usb.c
diff options
context:
space:
mode:
authorJun-Ru Chang <jrjang@realtek.com>2019-01-29 11:56:07 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-13 14:02:37 -0700
commitcd8520a283c44f80fa34c726fac1b7e12ff9ac58 (patch)
tree82aa587fa5f07938e82cc52588ce00be897fbdac /net/caif/caif_usb.c
parent738f9e2774d6fc6a66bd4c551ac132699b1fc993 (diff)
downloadlinux-stable-cd8520a283c44f80fa34c726fac1b7e12ff9ac58.tar.gz
linux-stable-cd8520a283c44f80fa34c726fac1b7e12ff9ac58.tar.bz2
linux-stable-cd8520a283c44f80fa34c726fac1b7e12ff9ac58.zip
MIPS: Remove function size check in get_frame_info()
[ Upstream commit 2b424cfc69728224fcb5fad138ea7260728e0901 ] Patch (b6c7a324df37b "MIPS: Fix get_frame_info() handling of microMIPS function size.") introduces additional function size check for microMIPS by only checking insn between ip and ip + func_size. However, func_size in get_frame_info() is always 0 if KALLSYMS is not enabled. This causes get_frame_info() to return immediately without calculating correct frame_size, which in turn causes "Can't analyze schedule() prologue" warning messages at boot time. This patch removes func_size check, and let the frame_size check run up to 128 insns for both MIPS and microMIPS. Signed-off-by: Jun-Ru Chang <jrjang@realtek.com> Signed-off-by: Tony Wu <tonywu@realtek.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Fixes: b6c7a324df37b ("MIPS: Fix get_frame_info() handling of microMIPS function size.") Cc: <ralf@linux-mips.org> Cc: <jhogan@kernel.org> Cc: <macro@mips.com> Cc: <yamada.masahiro@socionext.com> Cc: <peterz@infradead.org> Cc: <mingo@kernel.org> Cc: <linux-mips@vger.kernel.org> Cc: <linux-kernel@vger.kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/caif/caif_usb.c')
0 files changed, 0 insertions, 0 deletions