aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/dwarf.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2018-08-17 15:44:17 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-17 16:20:27 -0700
commit82f7c5103dcdd714486a64cfc5783cc4608d124c (patch)
tree654a705b9389e0cf50dbe554e6e75e119fe92628 /arch/sh/kernel/dwarf.c
parentntfs: mft: remove VLA usage (diff)
downloadlinux-dev-82f7c5103dcdd714486a64cfc5783cc4608d124c.tar.xz
linux-dev-82f7c5103dcdd714486a64cfc5783cc4608d124c.zip
sh: make use of for_each_node_by_type()
Instead of open-coding the loop, let's use canned macro. Also make sure we are not leaking "cpus" node reference. Link: http://lkml.kernel.org/r/20180624224252.GA220395@dtor-ws Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Rich Felker <dalias@libc.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions