[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180615.091536.1647251866604964944.davem@davemloft.net>
Date: Fri, 15 Jun 2018 09:15:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jiazhouyang09@...il.com
Cc: santosh@...lsio.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net: cxgb3: add error handling for
sysfs_create_group
From: Zhouyang Jia <jiazhouyang09@...il.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@...il.com>
> ---
> v1->v2:
> - Turn off led when sysfs_create_group fails
Applied, thank you.
Powered by blists - more mailing lists