summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorKaricheri, Muralidharan <m-karicheri2@ti.com>2015-07-29 01:20:13 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-30 04:37:40 +0300
commitc20afae75c32ec69eccc4ee432fa27d426e85a83 (patch)
tree2ac8fd5f33a732848b76747959de9b33af3db7ad /drivers/power
parent01a030996e1e2c268a4a484e2cbd3722b705414d (diff)
downloadlinux-c20afae75c32ec69eccc4ee432fa27d426e85a83.tar.xz
net: netcp: ethss: fix up incorrect use of list api
The code seems to assume a null is returned when the list is empty from first_sec_slave() to break the loop which is incorrect. Fix the code by using list_empty(). Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions