mirror of https://github.com/torvalds/linux.git
If alloc_canfd_skb() returns NULL, 'cfg' is an uninitialized variable, so we
should check 'skb' rather than 'cfd' after calling alloc_canfd_skb(priv->ndev,
&cfd).
Fixes:
|
||
|---|---|---|
| .. | ||
| mcp251xfd | ||
| Kconfig | ||
| Makefile | ||
| hi311x.c | ||
| mcp251x.c | ||