lkml.org 
[lkml]   [2017]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 1/3] thunderbolt: Remove superfluous check
On Tue, Aug 15, 2017 at 8:19 AM, Bernat, Yehezkel
<yehezkel.bernat@intel.com> wrote:
> The key size is tested by hex2bin() already (as '\0' isn't an hex digit)

Yes, and it's guaranteed (by kernelfs) that '\0' will be there sooner or later.

> Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com>

I'm using @linux.intel.com, though for this tag it really doesn't matter.


--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2017-08-15 11:33    [W:0.055 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site