Re: [PATCH 1/3] thunderbolt: Remove superfluous check
From: Andy Shevchenko
Date: Tue Aug 15 2017 - 05:33:01 EST
On Tue, Aug 15, 2017 at 8:19 AM, Bernat, Yehezkel
<yehezkel.bernat@xxxxxxxxx> 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@xxxxxxxxx>
I'm using @linux.intel.com, though for this tag it really doesn't matter.
--
With Best Regards,
Andy Shevchenko