summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorXiaoliang Yang <xiaoliang.yang_1@nxp.com>2021-12-23 15:39:28 +0800
committerJakub Kicinski <kuba@kernel.org>2021-12-23 09:45:55 -0800
commiteccffcf4657ab9a148faaa0eb354d2a091caf552 (patch)
treee5aa871658d6d56d26c3bdd1c8664ac0b75534c2 /net
parentae2778a64724f77fd6cad674461a045fb3307df7 (diff)
net: stmmac: ptp: fix potentially overflowing expression
Convert the u32 variable to type u64 in a context where expression of type u64 is required to avoid potential overflow. Fixes: e9e3720002f6 ("net: stmmac: ptp: update tas basetime after ptp adjust") Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com> Link: https://lore.kernel.org/r/20211223073928.37371-1-xiaoliang.yang_1@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions