aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sis900.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-12-09 22:43:33 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-09 22:43:33 -0500
commit4ef58d4e2ad1fa2a3e5bbf41af2284671fca8cf8 (patch)
tree856ba96302a36014736747e8464f80eeb827bbdd /drivers/net/sis900.c
parentf6c4c8195b5e7878823caa1181be404d9e86d369 (diff)
parentd014d043869cdc591f3a33243d3481fa4479c2d0 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits) tree-wide: fix misspelling of "definition" in comments reiserfs: fix misspelling of "journaled" doc: Fix a typo in slub.txt. inotify: remove superfluous return code check hdlc: spelling fix in find_pvc() comment doc: fix regulator docs cut-and-pasteism mtd: Fix comment in Kconfig doc: Fix IRQ chip docs tree-wide: fix assorted typos all over the place drivers/ata/libata-sff.c: comment spelling fixes fix typos/grammos in Documentation/edac.txt sysctl: add missing comments fs/debugfs/inode.c: fix comment typos sgivwfb: Make use of ARRAY_SIZE. sky2: fix sky2_link_down copy/paste comment error tree-wide: fix typos "couter" -> "counter" tree-wide: fix typos "offest" -> "offset" fix kerneldoc for set_irq_msi() spidev: fix double "of of" in comment comment typo fix: sybsystem -> subsystem ...
Diffstat (limited to 'drivers/net/sis900.c')
-rw-r--r--drivers/net/sis900.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sis900.c b/drivers/net/sis900.c
index 9a12d88ac2d9..7360d4bbf75e 100644
--- a/drivers/net/sis900.c
+++ b/drivers/net/sis900.c
@@ -1760,7 +1760,7 @@ static int sis900_rx(struct net_device *net_dev)
1760 sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE, 1760 sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE,
1761 PCI_DMA_FROMDEVICE); 1761 PCI_DMA_FROMDEVICE);
1762 1762
1763 /* refill the Rx buffer, what if there is not enought 1763 /* refill the Rx buffer, what if there is not enough
1764 * memory for new socket buffer ?? */ 1764 * memory for new socket buffer ?? */
1765 if ((skb = dev_alloc_skb(RX_BUF_SIZE)) == NULL) { 1765 if ((skb = dev_alloc_skb(RX_BUF_SIZE)) == NULL) {
1766 /* 1766 /*
@@ -1775,7 +1775,7 @@ static int sis900_rx(struct net_device *net_dev)
1775 } 1775 }
1776 1776
1777 /* This situation should never happen, but due to 1777 /* This situation should never happen, but due to
1778 some unknow bugs, it is possible that 1778 some unknown bugs, it is possible that
1779 we are working on NULL sk_buff :-( */ 1779 we are working on NULL sk_buff :-( */
1780 if (sis_priv->rx_skbuff[entry] == NULL) { 1780 if (sis_priv->rx_skbuff[entry] == NULL) {
1781 if (netif_msg_rx_err(sis_priv)) 1781 if (netif_msg_rx_err(sis_priv))