diff options
author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-15 06:06:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-15 19:15:24 +0300 |
commit | 7c099773b08634df9db0f5be40f0fcc06baa2e1b (patch) | |
tree | 729318838b18af43f972820da4cb58c6ebe59e82 /drivers/net/ethernet/agere | |
parent | c14a0246bd7dc84a1f393a12019696477aaeaaa8 (diff) | |
download | linux-7c099773b08634df9db0f5be40f0fcc06baa2e1b.tar.xz |
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: Zhouyang Jia <jiazhouyang09@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/agere')
0 files changed, 0 insertions, 0 deletions