Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fd00eeccd92b7b4b5ca95bd988c195efb4e5ec29
Commit:     fd00eeccd92b7b4b5ca95bd988c195efb4e5ec29
Parent:     74feb6e84e189707ca1324a92f7206617efbd735
Author:     Li Zefan <[EMAIL PROTECTED]>
AuthorDate: Fri Jan 4 01:54:38 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:00:37 2008 -0800

    [CONNECTOR]: add a missing break in cn_netlink_send()
    
    Each entry in the list has a unique id, so just break out of the
    loop if the matched id is found.
    
    Signed-off-by: Li Zefan <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/connector/connector.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/connector/connector.c b/drivers/connector/connector.c
index bf9716b..edf1349 100644
--- a/drivers/connector/connector.c
+++ b/drivers/connector/connector.c
@@ -88,6 +88,7 @@ int cn_netlink_send(struct cn_msg *msg, u32 __group, gfp_t 
gfp_mask)
                        if (cn_cb_equal(&__cbq->id.id, &msg->id)) {
                                found = 1;
                                group = __cbq->group;
+                               break;
                        }
                }
                spin_unlock_bh(&dev->cbdev->queue_lock);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to