]> git.baikalelectronics.ru Git - kernel.git/commit
tokenring/3c359.c: fix allocation null check
authorJirka Pirko <jirka@pirko.cz>
Mon, 24 Nov 2008 22:47:53 +0000 (14:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2008 22:47:53 +0000 (14:47 -0800)
commitf2d22f30c41d710dcdc6472cb5c939f1df0afa7c
tree094757b72e6cffda659fc8d18b72755a5deccf21
parent7da924fa98749f5336ba3ccc3b1e5f76d5fe6b73
tokenring/3c359.c: fix allocation null check

Fixed typo when allocating rx_ring, tx_ring was checked for null instead.

Signed-off-by: Jirka Pirko <jirka@pirko.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tokenring/3c359.c