https://github.com/torvalds/linux
Revision 7c099773b08634df9db0f5be40f0fcc06baa2e1b authored by Zhouyang Jia on 15 June 2018, 03:06:17 UTC, committed by David S. Miller on 15 June 2018, 16:15:24 UTC
When sysfs_create_group fails, the lack of error-handling code may
cause unexpected results.

This patch adds error-handling code after calling sysfs_create_group.

Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c14a024
History
Tip revision: 7c099773b08634df9db0f5be40f0fcc06baa2e1b authored by Zhouyang Jia on 15 June 2018, 03:06:17 UTC
net: cxgb3: add error handling for sysfs_create_group
Tip revision: 7c09977

back to top