From: Mathias Jeppsson Date: Fri, 6 Jul 2012 22:53:18 +0000 (+0200) Subject: NFC: Fix empty HCI message list check X-Git-Tag: v3.6-rc1~125^2~57^2~18^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1913e57cf9a7be4565c56a3fbfd85106919ea006;p=pandora-kernel.git NFC: Fix empty HCI message list check list_first_entry() will never return NULL. Instead use list_for_each_entry_safe() to iterate through the list. Signed-off-by: Mathias Jeppsson Signed-off-by: Samuel Ortiz Signed-off-by: John W. Linville --- Reading git-diff-tree failed