summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-fsl.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-08-21 11:28:45 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-05 16:52:08 -0700
commit67990472c77b06cc591dd59923542f64da91453d (patch)
tree6505199543a8a2ecfc0a99b5899998fc469e3013 /drivers/usb/host/ehci-fsl.c
parent697d5c004e390102efbf9320a5416873679bea81 (diff)
downloadblackbird-op-linux-67990472c77b06cc591dd59923542f64da91453d.tar.gz
blackbird-op-linux-67990472c77b06cc591dd59923542f64da91453d.zip
USB: mos7720: fix to use list_for_each_entry_safe() when delete items
Since we will be removing items off the list using list_del() we need to use a safer version of the list_for_each_entry() macro aptly named list_for_each_entry_safe(). We should use the safe macro if the loop involves deletions of items. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-fsl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud