public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Typo in tulip driver
@ 2005-04-27 10:48 Jiri Benc
  2005-05-16  3:18 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Benc @ 2005-04-27 10:48 UTC (permalink / raw)
  To: LKML; +Cc: jgarzik

This patch fixes a typo in tulip driver in 2.6.12-rc3.


--- linux-2.6.12-rc3/drivers/net/tulip/tulip_core.c
+++ linux-2.6.12-rc3-patched/drivers/net/tulip/tulip_core.c
@@ -1104,7 +1109,7 @@ static void set_rx_mode(struct net_devic
 			if (entry != 0) {
 				/* Avoid a chip errata by prefixing a dummy entry. Don't do
 				   this on the ULI526X as it triggers a different problem */
-				if (!(tp->chip_id == ULI526X && (tp->revision = 0x40 || tp->revision == 0x50))) {
+				if (!(tp->chip_id == ULI526X && (tp->revision == 0x40 || tp->revision == 0x50))) {
 					tp->tx_buffers[entry].skb = NULL;
 					tp->tx_buffers[entry].mapping = 0;
 					tp->tx_ring[entry].length =


--
Jiri Benc
SUSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Typo in tulip driver
  2005-04-27 10:48 [PATCH] Typo in tulip driver Jiri Benc
@ 2005-05-16  3:18 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2005-05-16  3:18 UTC (permalink / raw)
  To: Jiri Benc; +Cc: LKML

Jiri Benc wrote:
> This patch fixes a typo in tulip driver in 2.6.12-rc3.
> 
> 
> --- linux-2.6.12-rc3/drivers/net/tulip/tulip_core.c
> +++ linux-2.6.12-rc3-patched/drivers/net/tulip/tulip_core.c
> @@ -1104,7 +1109,7 @@ static void set_rx_mode(struct net_devic
>  			if (entry != 0) {
>  				/* Avoid a chip errata by prefixing a dummy entry. Don't do
>  				   this on the ULI526X as it triggers a different problem */
> -				if (!(tp->chip_id == ULI526X && (tp->revision = 0x40 || tp->revision == 0x50))) {
> +				if (!(tp->chip_id == ULI526X && (tp->revision == 0x40 || tp->revision == 0x50))) {


applied


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-16  3:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-27 10:48 [PATCH] Typo in tulip driver Jiri Benc
2005-05-16  3:18 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox