]> git.baikalelectronics.ru Git - kernel.git/commit
can: ti_hecc: Fix unintialized variable
authorAbhilash K V <abhilash.kv@ti.com>
Tue, 23 Aug 2011 03:05:48 +0000 (03:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2011 16:48:24 +0000 (12:48 -0400)
commit7673946b2332024bba726e2b416c180ad77a7009
treeb4d145d3b0de634f502f50f89febe193a1f93dee
parentec8ed9f12fa287876a161373b64ac8fa7d65e276
can: ti_hecc: Fix unintialized variable

In ti_hecc_xmit(), local variable "data" is not initialized before
being used.
This initialization got inadvertently removed in the following patch:

can: Unify droping of invalid tx skbs and netdev stats

Acked-by: Anant Gole <anantgole@ti.com>
Signed-off-by: Abhilash K V <abhilash.kv@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/ti_hecc.c