aboutsummaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2014-11-12 15:00:06 -0500
committerChris Metcalf <cmetcalf@ezchip.com>2014-11-13 09:39:26 -0500
commitce433f8090da6784cdee754defcbf325fc66f274 (patch)
tree81be5d2025ad1690228a18203875715e0647ff04 /MAINTAINERS
parentarch: tile: kernel: kgdb.c: Use memcpy() instead of pointer copy one by one (diff)
downloadlinux-dev-ce433f8090da6784cdee754defcbf325fc66f274.tar.xz
linux-dev-ce433f8090da6784cdee754defcbf325fc66f274.zip
tile: avoid undefined behavior with regs[TREG_TP] etc
Recent compilers warn about accesses to arrays past the end, which is supported for pt_regs and sigcontext with the intended alias past the end of regs[] to sp, tp, and lr using TREG_SP, TREG_TP, and TREG_LR. Make the intended usage explict by providing an anonymous union of regs[56] on the one hand, and a short __regs[53] on the other followed by the sp, tp, and lr fields, so the aliasing is done explicitly and is visible to the compiler. Reviewed-by: Jeff Epler <jepler@unpythonic.net> Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions