Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5899952imu; Tue, 13 Nov 2018 13:34:02 -0800 (PST) X-Google-Smtp-Source: AJdET5dpqLZBKt7+sgg1fIROQ9FY9WeIgQ94oRo/Ov70vN41Pfxe+E5QOCisBm1ifw7K3b0lCzdM X-Received: by 2002:a62:6d83:: with SMTP id i125-v6mr6953705pfc.184.1542144842674; Tue, 13 Nov 2018 13:34:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542144842; cv=none; d=google.com; s=arc-20160816; b=qkZj9cXX39MAyam2ylR6HpMVrF5/jIL8VddRZ1EhJqJH7EkRZSv6TSmItd7aovMvgp v8RkGuDMl0xySgsY5XJWnubz07kpXSMf8LUe+chgKnhl0iQi+boDriPHgWZqJNcq1rzR 2FGSMxC17IDHWP8K2U32qEmS4wloPE+p63GWjbkIUFDBiGs3DxViJfSssFYsnIq7VPcl TUiczlLy2+VvCqw/DhS6qPOcPFxcPkJneJe3l0lqTRQ1az6bhEB4N4sLqBuCksEm12Px 0Zy8rAQGyAeEn/OFPFNaaBR6JlUdvd369nJOhc61enQnBW/gSqq1g1aMiIv+ZnraY3gc YQsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=eHaN7VjjdTB8ZEamMalE2bKr4KlN2yfkJbiZkT0IUEM=; b=tgRoZ2js0Q4VFHeJMugmxlNn0nlqm81qH4KEf1iJWtRHQisuKS19HGoAOSnfGggkUe 76fFCndOWz0nlfX4dHdwo8UCWZsfFVKpYxzw1OtSopKhb7PpijMFYZDaixaAWuNqgBsj 7+yj2Tr17B5hII5CCoVwIw4iDkeH9F4KmQ67uqavNiqUpC7cuM83o8uOYJ3sii89RTn8 EAe67wgvSpGsii4XW2Dz6mNVRPKGax4KKOy+t68jIldNogEkKzgQiX0282mcT8M/kbSP x1civWkKPUH+hsUBOtXvP1jmmmD3cncFVrgheX2UrMRKblQ2znvKKRw23N68elAxeoVP IL+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A30Hi0kK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w190si20217544pgd.338.2018.11.13.13.33.46; Tue, 13 Nov 2018 13:34:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A30Hi0kK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728406AbeKNHcu (ORCPT + 99 others); Wed, 14 Nov 2018 02:32:50 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39979 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbeKNHcu (ORCPT ); Wed, 14 Nov 2018 02:32:50 -0500 Received: by mail-wr1-f66.google.com with SMTP id p4so5793072wrt.7 for ; Tue, 13 Nov 2018 13:32:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=eHaN7VjjdTB8ZEamMalE2bKr4KlN2yfkJbiZkT0IUEM=; b=A30Hi0kKmLsjuPbnllfhnHEhgl5M34sqYKmcO5N76bZ60asoWQxHv7msRwwP0Ez2HH aWclK+fR8jZnbAfEUrOB4e2SQDkU/lMYCkOjK0H7F5b+ZdtL7NVz/T5tYOK1jnbluziT EDT6DBGwHYVHGzXB+8/sgzcnywjWfWegx2aa8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=eHaN7VjjdTB8ZEamMalE2bKr4KlN2yfkJbiZkT0IUEM=; b=LiW3BA25fLNAifg7YN0UGWyxHqFIYXReIRP2sD2Ul3ktndD4qW19D0aIW1dFUWkCXg 1BWxuDg2PK04HKy0eT808ggKY+gtFoumT0IocKTrfNsdIQwTlBatZGhR2MgwOtxD1edF 8q3zlzzkqXK3Q2w6xG+EqfZU16DAPa4xQgvqg1a5uAF/0Y0LpzIirvTP+5WwoYOhR8KF itg9cJvgeWDZAohsuHjwaNqTl5Ocy0dHAey1md51sG5Wt0eEoy3Vq0S43PEeFiddSc3B XUuf3Df/zqvie5Rg2rFQ414VjfTto5XXGMoL27eYqxkHdT+hWH09WHOYaRx4U0akg5bo S+Fg== X-Gm-Message-State: AGRZ1gKgbNQ0WzQWznh0NpjM5ELSv11hXNokxuVwMfEv9G7xn1MqHdkL m2vfAIbjx6JgA0wLx4EO9pzE8A== X-Received: by 2002:adf:f748:: with SMTP id z8-v6mr6709931wrp.237.1542144766005; Tue, 13 Nov 2018 13:32:46 -0800 (PST) Received: from wychelm.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id e10-v6sm18909123wmg.23.2018.11.13.13.32.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Nov 2018 13:32:45 -0800 (PST) Date: Tue, 13 Nov 2018 21:32:42 +0000 From: Daniel Thompson To: Linus Torvalds Cc: Jason Wessel , linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" , Prarit Bhargava , Christophe Leroy Subject: [GIT PULL] kgdb changes for v4.20-rc3 Message-ID: <20181113213242.GA18288@wychelm.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus Normally pull requests for kgdb come from Jason Wessel but he's seems to have been struggling for time this dev cycle so I've stepped in. That I've put this together at (somewhat past) the last minute goes some way to explaining why I've included some -Wimplicit-fallthrough fixes here. The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) are available in the Git repository at: https://git.linaro.org/people/daniel.thompson/linux.git tags/kgdb-fixes-4.20-rc3 for you to fetch changes up to 646558ff1643467d3b941b47f519867cbca462c3: kdb: kdb_support: mark expected switch fall-throughs (2018-11-13 20:38:50 +0000) ---------------------------------------------------------------- kgdb fixes for 4.20-rc3 The most important changes here are two fixes for kdb regressions causes by the hashing of %p pointers together with a fix for a potential overflow in kdb tab completion handling (and warning fix). Also included are a set of changes in preparation to (eventually) enable -Wimplicit-fallthrough. Signed-off-by: Daniel Thompson ---------------------------------------------------------------- Christophe Leroy (2): kdb: use correct pointer when 'btc' calls 'btt' kdb: print real address of pointers instead of hashed addresses Gustavo A. R. Silva (3): kdb: kdb_main: refactor code in kdb_md_line kdb: kdb_keyboard: mark expected switch fall-throughs kdb: kdb_support: mark expected switch fall-throughs Prarit Bhargava (1): kdb: Use strscpy with destination buffer size kernel/debug/kdb/kdb_bt.c | 4 ++-- kernel/debug/kdb/kdb_io.c | 15 +++++++++------ kernel/debug/kdb/kdb_keyboard.c | 4 ++-- kernel/debug/kdb/kdb_main.c | 35 ++++++++++------------------------- kernel/debug/kdb/kdb_private.h | 2 +- kernel/debug/kdb/kdb_support.c | 28 ++++++++++++++-------------- 6 files changed, 38 insertions(+), 50 deletions(-)