diff options
author | Mathias Jeppsson <mathias.jeppsson@sonymobile.com> | 2012-07-07 00:53:18 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-10 11:42:50 -0400 |
commit | 1913e57cf9a7be4565c56a3fbfd85106919ea006 (patch) | |
tree | b2c0e0c33b42a229b7cba1555a4331f1d511ff42 /arch | |
parent | b48d96652626b315229b1b82c6270eead6a77a6d (diff) | |
download | op-kernel-dev-1913e57cf9a7be4565c56a3fbfd85106919ea006.zip op-kernel-dev-1913e57cf9a7be4565c56a3fbfd85106919ea006.tar.gz |
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 <mathias.jeppsson@sonymobile.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions