From: Florian Fainelli Date: Wed, 18 Dec 2013 05:38:07 +0000 (-0800) Subject: net: phy: dp83640: fix checkpath error X-Git-Tag: accepted/tizen/common/20141203.182822~719^2~464^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd61d963b90609690c94cfc98227e8aff5a9939c;p=platform%2Fkernel%2Flinux-arm64.git net: phy: dp83640: fix checkpath error Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/dp83640.c b/drivers/net/phy/dp83640.c index 7490b6c..547725f 100644 --- a/drivers/net/phy/dp83640.c +++ b/drivers/net/phy/dp83640.c @@ -851,8 +851,8 @@ static int match(struct sk_buff *skb, unsigned int type, struct rxts *rxts) seqid = (u16 *)(data + offset + OFF_PTP_SEQUENCE_ID); - return (rxts->msgtype == (*msgtype & 0xf) && - rxts->seqid == ntohs(*seqid)); + return rxts->msgtype == (*msgtype & 0xf) && + rxts->seqid == ntohs(*seqid); } static void dp83640_free_clocks(void)