Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Use passed ctx in XLATE_REPORT_ERROR.

2016-08-15 Thread Jesse Gross
On Mon, Aug 15, 2016 at 9:22 AM, Ben Pfaff wrote: > On Mon, Aug 15, 2016 at 08:21:19AM -0700, Jesse Gross wrote: >> XLATE_REPORT_ERROR is a macro that takes struct xlate_ctx as an >> argument but also implicitly uses 'ctx' from the local function >> scope. This is works with current uses but it re

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Use passed ctx in XLATE_REPORT_ERROR.

2016-08-15 Thread Ben Pfaff
On Mon, Aug 15, 2016 at 08:21:19AM -0700, Jesse Gross wrote: > XLATE_REPORT_ERROR is a macro that takes struct xlate_ctx as an > argument but also implicitly uses 'ctx' from the local function > scope. This is works with current uses but it really should be > using the argument. > > Signed-off-by:

[ovs-dev] [PATCH] ofproto-dpif-xlate: Use passed ctx in XLATE_REPORT_ERROR.

2016-08-15 Thread Jesse Gross
XLATE_REPORT_ERROR is a macro that takes struct xlate_ctx as an argument but also implicitly uses 'ctx' from the local function scope. This is works with current uses but it really should be using the argument. Signed-off-by: Jesse Gross --- ofproto/ofproto-dpif-xlate.c | 2 +- 1 file changed, 1