On Mon, Aug 12, 2019 at 01:08:53PM -0700, Andrey Smirnov wrote: > Both memset() and ziirave_firm_write_block_data() expect length in > bytes as an argument, not a number of elements in array. It just > happens that in this particular case both values are equal. Modify the > code to use sizeof() instead. > > Signed-off-by: Andrey Smirnov <[email protected]> > Cc: Chris Healy <[email protected]> > Cc: Guenter Roeck <[email protected]> > Cc: Rick Ramstetter <[email protected]> > Cc: [email protected] > Cc: [email protected]
Reviewed-by: Guenter Roeck <[email protected]>

