* miss list_del(), bug ?
@ 2007-08-28 17:58 ` Yoann Padioleau
0 siblings, 0 replies; 2+ messages in thread
From: Yoann Padioleau @ 2007-08-28 17:58 UTC (permalink / raw)
To: kernel-janitors; +Cc: linux-kernel
Shouldn't this code also do a list_del(e) ?
in drivers/infiniband/core/iwcm.c:
static void dealloc_work_entries(struct iwcm_id_private *cm_id_priv)
{
struct list_head *e, *tmp;
list_for_each_safe(e, tmp, &cm_id_priv->work_free_list)
kfree(list_entry(e, struct iwcm_work, free_list));
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* miss list_del(), bug ?
@ 2007-08-28 17:58 ` Yoann Padioleau
0 siblings, 0 replies; 2+ messages in thread
From: Yoann Padioleau @ 2007-08-28 17:58 UTC (permalink / raw)
To: kernel-janitors; +Cc: linux-kernel
Shouldn't this code also do a list_del(e) ?
in drivers/infiniband/core/iwcm.c:
static void dealloc_work_entries(struct iwcm_id_private *cm_id_priv)
{
struct list_head *e, *tmp;
list_for_each_safe(e, tmp, &cm_id_priv->work_free_list)
kfree(list_entry(e, struct iwcm_work, free_list));
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-29 1:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-28 17:58 miss list_del(), bug ? Yoann Padioleau
2007-08-28 17:58 ` Yoann Padioleau
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.