From 551a9d73942b0ffa6cb9fe3bb35936dcc7172281 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Mon, 2 Jun 2014 14:07:46 +0900 Subject: [PATCH] staging: dgap: unwind on error in dgap_tty_init() If the kzalloc() fails for channels, it need to handle that error. It should free channels which were already allocated. And also removes the call to dgap_tty_uninit() in dgap_firmware_load(). Signed-off-by: Daeseok Youn Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed