Messages in this thread | | | Date | Fri, 15 Jun 2018 09:15:36 -0700 (PDT) | Subject | Re: [PATCH v2] net: cxgb3: add error handling for sysfs_create_group | From | David Miller <> |
| |
From: Zhouyang Jia <jiazhouyang09@gmail.com> 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 <jiazhouyang09@gmail.com> > --- > v1->v2: > - Turn off led when sysfs_create_group fails
Applied, thank you.
| |