Messages in this thread | | | From | Richard Weinberger <> | Subject | Re: [PATCH] p9caps: add Plan9 capability devices | Date | Wed, 25 Apr 2018 14:23:34 +0200 |
| |
Am Mittwoch, 25. April 2018, 12:38:02 CEST schrieb Enrico Weigelt: > >> + list_for_each_safe(pos, q, &(caphash_writers)) { > >> + tmp = list_entry(pos, struct caphash_entry, list); > > > > list_for_each_entry. > > what's the exact difference ?
Whoops, I meant list_for_each_entry_safe(). You don't list_entry() then.
Thanks, //richard
-- sigma star gmbh - Eduard-Bodem-Gasse 6 - 6020 Innsbruck - Austria ATU66964118 - FN 374287y
| |