From: Justin Pettit Date: Fri, 8 Oct 2010 06:30:06 +0000 (-0700) Subject: classifier: Add missing argument in CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5db39d100c328b218e8c89efab4f43609febf34c;p=openvswitch classifier: Add missing argument in CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE The CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE macro was missing its "MEMBER" argument. It doesn't currently cause any problems because no one uses the macro. --- diff --git a/lib/classifier.h b/lib/classifier.h index 13eb0510..9b0b38d3 100644 --- a/lib/classifier.h +++ b/lib/classifier.h @@ -171,7 +171,7 @@ struct cls_rule *classifier_find_rule_exactly(const struct classifier *, #define CLASSIFIER_FOR_EACH_EXACT_RULE(RULE, MEMBER, CLS) \ HMAP_FOR_EACH (RULE, MEMBER.node.hmap, &(CLS)->exact_table) -#define CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE(RULE, NEXT, CLS) \ +#define CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE(RULE, NEXT, MEMBER, CLS) \ HMAP_FOR_EACH_SAFE (RULE, NEXT, MEMBER.node.hmap, &(CLS)->exact_table) #endif /* classifier.h */