From: Dan Carpenter Date: Tue, 27 Nov 2012 16:35:09 +0000 (-0300) Subject: rc: unlock on error in show_protocols() X-Git-Tag: v3.2.40~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04ea2389e48049a79da78e517ebb411d2fad7bf2;p=pandora-kernel.git rc: unlock on error in show_protocols() commit 30ebc5e44d057a1619ad63fe32c8c1670c37c4b8 upstream. We recently introduced a new return -ENODEV in this function but we need to unlock before returning. [mchehab@redhat.com: found two patches with the same fix. Merged SOB's/acks into one patch] Acked-by: Herton R. Krzesinski Signed-off-by: Dan Carpenter Signed-off-by: Douglas Bagnall Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed