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
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 12.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.5 KB
.mailmap -rw-r--r-- 9.3 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 96.3 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 321 bytes
MAINTAINERS -rw-r--r-- 447.9 KB
Makefile -rw-r--r-- 61.1 KB
README -rw-r--r-- 800 bytes

README

back to top