diff options
author | Andrey Smirnov <[email protected]> | 2019-08-12 13:08:52 -0700 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2019-09-17 08:59:05 +0200 |
commit | dc0dd28951f16be9714e90468e14566d186a7388 (patch) | |
tree | e4b6917eea58638d85357d76dbe14b884f1f78ae /drivers/usb/cdns3/cdns3-plat.c | |
parent | 08188e8dbc7587d58948efca493219515d6a5639 (diff) |
watchdog: ziirave_wdt: Skip zeros when calculating checksum
Zeros don't contribute anything to checksum value, so we can skip
unused portion of the packet when calculating its checksum.
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