Files
linux/drivers/net
Pan Bian 8ad3ba9345 net: irda: set error code on failures
When the calls to kzalloc() fail, the value of return variable ret may
be 0. 0 means success in this context. This patch fixes the bug,
assigning "-ENOMEM" to ret before calling kzalloc().

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188971

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-05 14:53:08 -05:00
..
2016-08-15 11:57:55 -07:00
2016-08-31 14:33:09 -07:00
2016-09-20 22:55:23 -04:00
2016-08-30 22:27:18 -07:00