aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorAndrey Smirnov <[email protected]>2019-08-12 13:08:52 -0700
committerWim Van Sebroeck <[email protected]>2019-09-17 08:59:05 +0200
commitdc0dd28951f16be9714e90468e14566d186a7388 (patch)
treee4b6917eea58638d85357d76dbe14b884f1f78ae /drivers/usb/cdns3/cdns3-plat.c
parent08188e8dbc7587d58948efca493219515d6a5639 (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