Thread (4 messages) read the whole thread 4 messages, 2 authors, 2018-06-15

Re: [PATCH v2] net: cxgb3: add error handling for sysfs_create_group

From: David Miller <davem@davemloft.net>
Date: 2018-06-15 16:15:41
Also in: lkml

From: Zhouyang Jia <redacted>
Date: Fri, 15 Jun 2018 11:06:17 +0800
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 <redacted>
---
v1->v2:
- Turn off led when sysfs_create_group fails
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help