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 | ||
hi311x.c | ||
Kconfig | ||
Makefile | ||
mcp251x.c |