net: phy: dp83640: Fixup cast to restricted __be16 warning
authorAndrew Lunn <andrew@lunn.ch>
Tue, 7 Jul 2020 01:49:37 +0000 (03:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jul 2020 19:47:11 +0000 (12:47 -0700)
commit82e7627fd4d8592be2acb908943fb943c440840d
tree5ee0f29372776e8d8b76f9e4a562c77b4f7fd2e2
parent4f2b38e3ea4a64ea23e313a78d9974ca6b5d7703
net: phy: dp83640: Fixup cast to restricted __be16 warning

ntohs() expects to be passed a __be16. Correct the type of the
variable holding the sequence ID.

Cc: Richard Cochran <richardcochran@gmail.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c