diff options
author | Andrey Smirnov <[email protected]> | 2019-08-12 13:08:54 -0700 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2019-09-17 08:59:05 +0200 |
commit | 10f98fef7ba65fcb74129296631adc99750f1a96 (patch) | |
tree | 16d694a5fccdaeb9630374e050cbcf9d60c55445 /drivers/usb/cdns3/cdns3-plat.c | |
parent | e6bd448653d61d17ddf9a663ca84d1f422846907 (diff) |
watchdog: ziirave_wdt: Zero out only what's necessary
Instead of zeroing out all of the packet and then overwriting a
significant portion of those zeros via memcpy(), zero out only a
portion of the packet that is known to not contain any data.
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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions