summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorLeonard Crestez2019-05-15 00:46:14 +0200
committerLinus Torvalds2019-05-15 04:52:52 +0200
commit66d5c7c60acfeb21d80ff03a349e3b6600caa117 (patch)
tree54742b858e7ab0a5b79e1d3340cbe6b90c2c2ef4 /ipc
parentscripts/gdb: add $lx_clk_core_lookup function (diff)
downloadkernel-qcow2-linux-66d5c7c60acfeb21d80ff03a349e3b6600caa117.tar.gz
kernel-qcow2-linux-66d5c7c60acfeb21d80ff03a349e3b6600caa117.tar.xz
kernel-qcow2-linux-66d5c7c60acfeb21d80ff03a349e3b6600caa117.zip
scripts/gdb: clean up error handling in list helpers
An incorrect argument to list_for_each is an internal error in gdb scripts so a TypeError should be raised. The gdb.GdbError exception type is intended for user errors such as incorrect invocation. Drop the type assertion in list_for_each_entry because list_for_each isn't going to suddenly yield something else. Applies to both list and hlist Link: http://lkml.kernel.org/r/c1d3fd4db13d999a3ba57f5bbc1924862d824f61.1556881728.git.leonard.crestez@nxp.com Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Cc: Jan Kiszka <jan.kiszka@siemens.com> Cc: Jason Wessel <jason.wessel@windriver.com> Cc: Kieran Bingham <kbingham@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions