Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3089533imj; Mon, 11 Feb 2019 13:44:41 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ8dy39+ALyd7bAysw9+3QuItsLwJuLgjqVUv9yRR2iBIiSzK/bKz7KBk7qc73jSe5UNy8W X-Received: by 2002:a63:fa51:: with SMTP id g17mr383127pgk.66.1549921481659; Mon, 11 Feb 2019 13:44:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549921481; cv=none; d=google.com; s=arc-20160816; b=u8wEyjLVZecKtNDY4c1LBU3J8si+axdKRBlyDuBhSzUwVMLCKnnudLcXMrqJiuKcTS bkBSO36eJN5n2pxes9DfpTvEDzJJA67BlQehBgR/C+qBwW8cY8m7lEX8lufDXwK4VIic Aec6fKDooVEiERHB0TAU+i2LkPy1Tb0tdrxhGeKj0wCmtZ9uQr2vaqwHIka0OJYHf9xi ir/0JHiDX7jJYvH4jQnxM2SUY/cqgZHkvW8RyvBw2xhdH7M0xrfiETWWpWKHue6X2o2X ZRr1kpV+ElbOlUhteTKgStG3gafYVQ91ALbNzLhClNxiOUpGvJeaq3aJvsB2UQ26vRMW daRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jz7m1a+FGluQZXoGscSuIG8g4cW33nsSXIWoU/bTeSM=; b=dRnTrTWVa4DDdKtTAPftA4TkUTW8niVWpKmFtcZS/+hGP9x6EIkNx2oce74YtYrOWg A/9EebbOgaMD3BYBVpvWR31ExqjcfVbLfBqZvxrqT0MwmouuHU1dsDJ8Cif2oAnYA+8a tZG/A0l1tuU0Rwi2XjN8tCOhA9PHiuGz4XgE6LxARAep2DMTuWV8Rd87/JLgMDyl45GS BSF2eIstR478t4tP5nuYLLYnMbpCo6Y8qi4/Qk+uISJlq/SV8myrKCvBs/RrVUGVtb3P c4rAAZFA6JAB0mIqQXfZkY0QFIirqiwlQEJl6EDZO4nEV5l6YEyxorG5fFzsqfcF73Iz suvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=X3inc+0g; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x128si11459001pfb.128.2019.02.11.13.44.26; Mon, 11 Feb 2019 13:44:41 -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=@google.com header.s=20161025 header.b=X3inc+0g; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727861AbfBKVoI (ORCPT + 99 others); Mon, 11 Feb 2019 16:44:08 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:38262 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727390AbfBKVoH (ORCPT ); Mon, 11 Feb 2019 16:44:07 -0500 Received: by mail-ed1-f67.google.com with SMTP id h58so383003edb.5 for ; Mon, 11 Feb 2019 13:44:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jz7m1a+FGluQZXoGscSuIG8g4cW33nsSXIWoU/bTeSM=; b=X3inc+0g8d71KYB0klwWiT67APWByXJ6pi8dREpRgCV/SEteitRy5bClBU7beUcaVv PWDWV+Qg+2kdHSgLNnd7vSyy8XB4oysxfNpI/K4l37XyV9OpQ9wLbWiHBvd0uS2rqSSh dISz7M4vpxFYp9sscuLwucCfv6sHRKx+w/yISvpLt2HZfkyph5ODkk/tp1M9/1LwSHqR ebqkz+QbFa1NgKzJ3MJ4AvcnpVmy5vDMYRAOT54l9R8RXBfnMjsQ6BgV0LvwBmMapbHs ckUBzRxS3PtBbhLrtZ3Yfq575vcVFfGfBDJn3jifHqrBUVARpVpv11Hc92cK6Kz/qUac xAHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jz7m1a+FGluQZXoGscSuIG8g4cW33nsSXIWoU/bTeSM=; b=o8HLuPpsNCFL/RZ3C2/F3q0sPKGcmkqBdp9bMrhlGkwe6Z5LwzbrcND0bHVqejQJVK BLBRpuzwnte6ighevJBT5BvgFDPAGSnJlT6otv313OyRWavSNKE1T7B83zNDRXXUc6r6 yz1DBTmwOt0sXrYFYWA3oeRa18FyamPcPIeK2gTHvLG95dqb2omOV/C9ZS3ik+FueUfn ko3nKSYq5a8n0Txz3YcikWADtlZVYB3UPG6/07hiduPwfN4BCunKafe74cgshNv2K1qt I86wmZnYXyNwnmEjHgpuhRG4vzBNxhHRdhHZKwDEj6IveKDuyUPEgjUQljQ+zKQNaU0O PU4g== X-Gm-Message-State: AHQUAuacqFV8gTtWRkrxRou3E4v0c34wwbjJEv6UstteovdIfSds3X8v B3NOtHuuqCI2p2BZZlURQ/OMzTvplu/EIC1lucdUOw== X-Received: by 2002:a17:906:f0d8:: with SMTP id dk24mr222755ejb.108.1549921445662; Mon, 11 Feb 2019 13:44:05 -0800 (PST) MIME-Version: 1.0 References: <20190205190849.GA2686@kunai> <20190211034021.242932-1-jsperbeck@google.com> <20190211092417.7f211ee0@gandalf.local.home> In-Reply-To: <20190211092417.7f211ee0@gandalf.local.home> From: John Sperbeck Date: Mon, 11 Feb 2019 13:43:54 -0800 Message-ID: Subject: Re: [PATCH v2] i2c: core-smbus: don't trace smbus_reply data on errors To: Steven Rostedt Cc: Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Ingo Molnar Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 11, 2019 at 6:24 AM Steven Rostedt wrote: > > On Sun, 10 Feb 2019 19:40:21 -0800 > John Sperbeck wrote: > > > If an smbus transfer fails, there's no guarantee that the output > > buffer was written. So, avoid trying to show the output buffer when > > tracing after an error. This was 'mostly harmless', but would trip > > up kasan checking if left-over cruft in byte 0 is a large length, > > causing us to read from unwritten memory. > > This looks fine to me, but I'm not sure how the i2c maintainers feel, > but I always require that a new patch version starts a new thread, and > not be part of a older thread release (causes these patches to be > hidden from those that read patches in threading mode). That sounds reasonable to me. Unless I hear otherwise, I'll create a v3 as a new thread. Thanks.