Loading drivers/net/tg3.c +2 −2 Original line number Diff line number Diff line Loading @@ -852,7 +852,7 @@ static int tg3_bmcr_reset(struct tg3 *tp) } udelay(10); } if (limit <= 0) if (limit < 0) return -EBUSY; return 0; Loading Loading @@ -1603,7 +1603,7 @@ static int tg3_wait_macro_done(struct tg3 *tp) break; } } if (limit <= 0) if (limit < 0) return -EBUSY; return 0; Loading Loading
drivers/net/tg3.c +2 −2 Original line number Diff line number Diff line Loading @@ -852,7 +852,7 @@ static int tg3_bmcr_reset(struct tg3 *tp) } udelay(10); } if (limit <= 0) if (limit < 0) return -EBUSY; return 0; Loading Loading @@ -1603,7 +1603,7 @@ static int tg3_wait_macro_done(struct tg3 *tp) break; } } if (limit <= 0) if (limit < 0) return -EBUSY; return 0; Loading