Re: [RFC PATCH 4/7] telemetry: make array initialization more robust

2023-01-10 Thread Ferruh Yigit
On 1/9/2023 5:49 PM, Tyler Retzlaff wrote: > On Mon, Jan 09, 2023 at 12:16:15PM +, Bruce Richardson wrote: >> On Wed, Dec 14, 2022 at 09:50:33AM -0800, Tyler Retzlaff wrote: >>> On Tue, Dec 13, 2022 at 06:27:27PM +, Bruce Richardson wrote: Rather than relying on a specific ordering of

Re: [RFC PATCH 4/7] telemetry: make array initialization more robust

2023-01-09 Thread Tyler Retzlaff
On Mon, Jan 09, 2023 at 12:16:15PM +, Bruce Richardson wrote: > On Wed, Dec 14, 2022 at 09:50:33AM -0800, Tyler Retzlaff wrote: > > On Tue, Dec 13, 2022 at 06:27:27PM +, Bruce Richardson wrote: > > > Rather than relying on a specific ordering of elements in the array > > > matching that of

Re: [RFC PATCH 4/7] telemetry: make array initialization more robust

2023-01-09 Thread Bruce Richardson
On Wed, Dec 14, 2022 at 09:50:33AM -0800, Tyler Retzlaff wrote: > On Tue, Dec 13, 2022 at 06:27:27PM +, Bruce Richardson wrote: > > Rather than relying on a specific ordering of elements in the array > > matching that of elements in the enum definition, we can explicitly mark > > each array ent

Re: [RFC PATCH 4/7] telemetry: make array initialization more robust

2022-12-14 Thread Tyler Retzlaff
On Tue, Dec 13, 2022 at 06:27:27PM +, Bruce Richardson wrote: > Rather than relying on a specific ordering of elements in the array > matching that of elements in the enum definition, we can explicitly mark > each array entry using the equivalent enum value as an index. > > Signed-off-by: Bruc

[RFC PATCH 4/7] telemetry: make array initialization more robust

2022-12-13 Thread Bruce Richardson
Rather than relying on a specific ordering of elements in the array matching that of elements in the enum definition, we can explicitly mark each array entry using the equivalent enum value as an index. Signed-off-by: Bruce Richardson --- lib/telemetry/telemetry_data.c | 8 1 file chang