Re: [PATCH V2 resend] net: dsa/slave: Fix compilation warnings

2012-11-26 Thread David Miller
From: Viresh Kumar Date: Sat, 24 Nov 2012 11:23:54 +0530 > Currently when none of CONFIG_NET_DSA_TAG_DSA, CONFIG_NET_DSA_TAG_EDSA and > CONFIG_NET_DSA_TAG_TRAILER is defined, we get following compilation warnings: > > net/dsa/slave.c:51:12: warning: 'dsa_slave_init' defined but not used > [-Wun

Re: [PATCH 3/3] smsc95xx: use usleep_range(), get rid out of jiffies

2012-01-17 Thread David Miller
From: Dmitry Antipov Date: Tue, 17 Jan 2012 16:54:12 +0400 > -/* Loop until the read is completed with timeout > - * called with phy_mutex held */ > +/* Busy-wait loop until the read is completed, but > + no longer than 10ms. Called with phy_mutex held. */ Please: /* Write comments.