[lkml]   [2019]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] i2c: core-smbus: don't trace smbus_reply data on errors
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.

 \ /
  Last update: 2019-02-11 22:44    [W:0.059 / U:6.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site