]> git.baikalelectronics.ru Git - kernel.git/commit
net: cpsw: check for cpts pointer after its allocation
authorSebastian Siewior <bigeasy@linutronix.de>
Mon, 17 Jun 2013 17:31:52 +0000 (19:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2013 23:26:07 +0000 (16:26 -0700)
commit1385246796a71a5d691eef2347efc64fe1d23da9
treea0d932f01b664d964f06828504aadc0649bf70a5
parent4cd29016d871147a368f80bcc7ac7e283c4605c7
net: cpsw: check for cpts pointer after its allocation

after priv->cpts got allocated then this pointer should check to determine
if the allocation succeeded or not.

Cc: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c