Commit 73e61d60 authored by Fugang Duan's avatar Fugang Duan Committed by Jason Liu

ENGR00234236 1588: fix kernel build warning

Warning: no return statement in function returning non-void.
fec_ptp_ioctl return zero when 1588 is not enable.
Signed-off-by: default avatarFugang Duan  <>
parent b3ce4ba4
......@@ -217,7 +217,10 @@ static inline void fec_ptp_store_rxstamp(struct fec_ptp_private *priv,
struct sk_buff *skb,
struct bufdesc *bdp) {}
static inline int fec_ptp_ioctl(struct fec_ptp_private *priv,
struct ifreq *ifr, int cmd) {}
struct ifreq *ifr, int cmd)
return 0;
#endif /* 1588 */
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment