git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[pandora-kernel.git]
/
net
/
caif
/
cfmuxl.c
diff --git
a/net/caif/cfmuxl.c
b/net/caif/cfmuxl.c
index
46f34b2
..
24f1ffa
100644
(file)
--- a/
net/caif/cfmuxl.c
+++ b/
net/caif/cfmuxl.c
@@
-244,9
+244,9
@@
static void cfmuxl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
int phyid)
{
struct cfmuxl *muxl = container_obj(layr);
int phyid)
{
struct cfmuxl *muxl = container_obj(layr);
- struct list_head *node;
+ struct list_head *node
, *next
;
struct cflayer *layer;
struct cflayer *layer;
- list_for_each
(node
, &muxl->srvl_list) {
+ list_for_each
_safe(node, next
, &muxl->srvl_list) {
layer = list_entry(node, struct cflayer, node);
if (cfsrvl_phyid_match(layer, phyid))
layer->ctrlcmd(layer, ctrl, phyid);
layer = list_entry(node, struct cflayer, node);
if (cfsrvl_phyid_match(layer, phyid))
layer->ctrlcmd(layer, ctrl, phyid);