libertas: add checks for the return value of sysfs_create_group
authorKangjie Lu <kjlu@umn.edu>
Tue, 8 Jan 2019 17:42:21 +0000 (11:42 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 1 Feb 2019 12:06:28 +0000 (14:06 +0200)
commit434256833d8eb988cb7f3b8a41699e2fe48d9332
tree12d729f5cd66308019b249f5465df1c67c3200ba
parentdb040dfa53e2905111e400b28d0bd6f38c78d348
libertas: add checks for the return value of sysfs_create_group

sysfs_create_group() could fail. The fix checkes its return values
and issue error messages if it fails.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas/mesh.c