Skip to content
Commit 7c099773 authored by Zhouyang Jia's avatar Zhouyang Jia Committed by David S. Miller
Browse files

net: cxgb3: add error handling for sysfs_create_group



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: default avatarZhouyang Jia <jiazhouyang09@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c14a0246
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment