summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorDavid Rivshin <DRivshin@allworx.com>2018-04-25 21:15:01 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2018-05-19 11:53:46 +0100
commit76ed0b803a2ab793a1b27d1dfe0de7955282cd34 (patch)
treec9b84538f7ffcc20207fd8c4ef5cd2a41cb8244d /scripts/const_structs.checkpatch
parenta70c3ee34b093bf2b007aceda5b444906f8964c7 (diff)
downloadkernel-76ed0b803a2ab793a1b27d1dfe0de7955282cd34.tar.gz
ARM: 8764/1: kgdb: fix NUMREGBYTES so that gdb_regs[] is the correct size
NUMREGBYTES (which is used as the size for gdb_regs[]) is incorrectly based on DBG_MAX_REG_NUM instead of GDB_MAX_REGS. DBG_MAX_REG_NUM is the number of total registers, while GDB_MAX_REGS is the number of 'unsigned longs' it takes to serialize those registers. Since FP registers require 3 'unsigned longs' each, DBG_MAX_REG_NUM is smaller than GDB_MAX_REGS. This causes GDB 8.0 give the following error on connect: "Truncated register 19 in remote 'g' packet" This also causes the register serialization/deserialization logic to overflow gdb_regs[], overwriting whatever follows. Fixes: 834b2964b7ab ("kgdb,arm: fix register dump") Cc: <stable@vger.kernel.org> # 2.6.37+ Signed-off-by: David Rivshin <drivshin@allworx.com> Acked-by: Rabin Vincent <rabin@rab.in> Tested-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
bd757d9a242574e'>Documentation: kunit: add tips for using current->kunit_testDaniel Latypov 2021-02-08Documentation: kunit: add tips.rst for small examplesDaniel Latypov 2021-02-08KUnit: Docs: make start.rst example Kconfig follow style.rstDaniel Latypov 2021-01-15Documentation: kunit: include example of a parameterized testDaniel Latypov 2020-12-01Documentation: kunit: provide guidance for testing many inputsDaniel Latypov 2020-11-10KUnit: Docs: usage: wording fixesRandy Dunlap 2020-11-10KUnit: Docs: style: fix some Kconfig example issuesRandy Dunlap 2020-11-10KUnit: Docs: fix a wording typoRandy Dunlap 2020-10-26Documentation: kunit: Update Kconfig parts for KUNIT's module supportSeongJae Park 2020-10-09Documentation: kunit: add a brief blurb about kunit_test_suiteBrendan Higgins 2020-10-09Documentation: kunit: Add naming guidelinesDavid Gow 2020-08-05Merge tag 'linux-kselftest-kunit-5.9-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds 2020-07-17Documentation: kunit: Remove references to --defconfigDavid Gow 2020-06-26Documentation: kunit: Add some troubleshooting tips to the FAQDavid Gow 2020-05-22Documentation: test.h - fix warningsLothar Rubusch 2020-03-26kunit: update documentation to describe debugfs representationAlan Maguire 2020-03-25Documentation: kunit: Make the KUnit documentation less UML-specificDavid Gow 2020-02-10Documentation: kunit: fixed sphinx error in code blockBrendan Higgins 2020-01-09kunit: update documentation to describe module-based buildAlan Maguire 2019-12-23kunit: Rename 'kunitconfig' to '.kunitconfig'SeongJae Park 2019-12-23docs/kunit/start: Use in-tree 'kunit_defconfig'SeongJae Park 2019-12-09Documentation: kunit: add documentation for kunit_toolBrendan Higgins 2019-12-09Documentation: kunit: fix typos and gramatical errorsBrendan Higgins 2019-10-07Documentation: kunit: Fix verification commandSeongJae Park 2019-09-30Documentation: kunit: add documentation for KUnitBrendan Higgins