Re: [PATCH 16/21] lib/log: ensure code structure does not change

2024-12-11 Thread Andre Muezerie
On Tue, Dec 10, 2024 at 07:13:21PM -0800, Stephen Hemminger wrote: > On Tue, 10 Dec 2024 18:05:46 -0800 > Andre Muezerie wrote: > > > Add "do { } while (0)" to macros used to remove logging calls, to > > ensure there's no code structure change when enabling/disabling > > logging. > > > > Signed-

Re: [PATCH 16/21] lib/log: ensure code structure does not change

2024-12-10 Thread Stephen Hemminger
On Tue, 10 Dec 2024 18:05:46 -0800 Andre Muezerie wrote: > Add "do { } while (0)" to macros used to remove logging calls, to > ensure there's no code structure change when enabling/disabling > logging. > > Signed-off-by: Andre Muezerie > --- > lib/log/rte_log.h | 2 +- > 1 file changed, 1 inse

[PATCH 16/21] lib/log: ensure code structure does not change

2024-12-10 Thread Andre Muezerie
Add "do { } while (0)" to macros used to remove logging calls, to ensure there's no code structure change when enabling/disabling logging. Signed-off-by: Andre Muezerie --- lib/log/rte_log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log/rte_log.h b/lib/log/rte_log.h