From: Yonghua Zheng Date: Tue, 30 Jul 2013 06:16:10 +0000 (+0800) Subject: HID: hidraw: fix improper mutex release X-Git-Tag: v3.11-rc4~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e552e535948fe8612d36a7beaf19519140bc285;p=pandora-kernel.git HID: hidraw: fix improper mutex release Mutex can not be released unless all hid_device members are properly initialized. Otherwise it would result in a race condition that can cause NULL pointer kernel panic issue in hidraw_open where it uses uninitialized 'list' member in list_add_tail(). Signed-off-by: Yonghua Zheng Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed