On 9 Mar 2022, at 17:10, Adrian Moreno wrote: > HMAP_FOR_EACH_POP iterator has an additional difficulty, which is the > use of two iterator variables of different types. > > In order to re-write this loop in a UB-safe manner, create a iterator > struct to be used as loop variable. > > Acked-by: Dumitru Ceara <[email protected]> > Signed-off-by: Adrian Moreno <[email protected]> Changes look good to me! Acked-by: Eelco Chaudron <[email protected]> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
- Re: [ovs-dev] [PATCH v4 04/15] list: use multi-variabl... Eelco Chaudron
- [ovs-dev] [PATCH v4 05/15] list: use short version of safe ... Adrian Moreno
- Re: [ovs-dev] [PATCH v4 05/15] list: use short version... 0-day Robot
- Re: [ovs-dev] [PATCH v4 05/15] list: use short version... Eelco Chaudron
- Re: [ovs-dev] [PATCH v4 05/15] list: use short ver... Eelco Chaudron
- [ovs-dev] [PATCH v4 06/15] hmap: use multi-variable helpers... Adrian Moreno
- [ovs-dev] [PATCH v4 07/15] hmap: implement UB-safe hmap pop... Adrian Moreno
- Re: [ovs-dev] [PATCH v4 07/15] hmap: implement UB-safe... 0-day Robot
- Re: [ovs-dev] [PATCH v4 07/15] hmap: implement UB-safe... Eelco Chaudron
- [ovs-dev] [PATCH v4 09/15] cmap: use multi-variable iterato... Adrian Moreno
- [ovs-dev] [PATCH v4 10/15] hindex: use multi-variable itera... Adrian Moreno
- [ovs-dev] [PATCH v4 12/15] rculist: use multi-variable help... Adrian Moreno
- Re: [ovs-dev] [PATCH v4 12/15] rculist: use multi-vari... Eelco Chaudron
- [ovs-dev] [PATCH v4 11/15] hindex: remove the next variable... Adrian Moreno
