lkml.org 
[lkml]   [2020]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 2/6] fpga: m10bmc-sec: create max10 bmc secure update driver
From
Date

>>> + return -EINVAL;
>>> + }
>>> +
>>> + ret = regmap_bulk_read(sec->m10bmc->regmap, reh_addr,
>>> + hash, sha_num_bytes / stride);
>> Assumes !(sha_num_bytes % stride)
> Yes - good point. I'll add WARN_ON() here and for the CSK cancellation vectors.
> In these cases, the size values are fixed, so a WARN_ON should be sufficient.

Yes, thanks.

Tom

> Thanks,
> - Russ
>

\
 
 \ /
  Last update: 2020-11-18 16:49    [W:0.033 / U:1.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site